arcanus commited on
Commit
9bebf00
·
verified ·
1 Parent(s): e96c9c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -323,7 +323,7 @@ def download_youtube_video(url, project_path, proxy=None, proxy_user=None, proxy
323
  print("\nZahajuji stahování videa...")
324
 
325
  # Prepare the API request
326
- api_url = 'https://7701-185-68-219-242.ngrok-free.app/download-video'
327
  headers = {
328
  'Accept': '*/*', # Accept any content type
329
  'Content-Type': 'application/json'
@@ -423,7 +423,7 @@ def download_yt():
423
  return jsonify({'success': False, 'error': 'Nepodařilo se vytvořit složku projektu'})
424
 
425
  # Get thumbnail from API
426
- api_url = 'https://7701-185-68-219-242.ngrok-free.app/download-thumbnail'
427
  headers = {
428
  'accept': 'application/json',
429
  'Content-Type': 'application/json'
@@ -738,7 +738,7 @@ def get_status():
738
  # Check if ngrok server is online
739
  try:
740
  response = requests.get(
741
- 'https://7701-185-68-219-242.ngrok-free.app/',
742
  params={'api_key': '5as4d4f12sxdf45sfg46vawd74879ad5sd5AF4g6d8f4hfgb5'},
743
  headers={'accept': 'application/json'},
744
  timeout=5
 
323
  print("\nZahajuji stahování videa...")
324
 
325
  # Prepare the API request
326
+ api_url = 'https://hound-patient-honestly.ngrok-free.app/download-video'
327
  headers = {
328
  'Accept': '*/*', # Accept any content type
329
  'Content-Type': 'application/json'
 
423
  return jsonify({'success': False, 'error': 'Nepodařilo se vytvořit složku projektu'})
424
 
425
  # Get thumbnail from API
426
+ api_url = 'https://hound-patient-honestly.ngrok-free.app/download-thumbnail'
427
  headers = {
428
  'accept': 'application/json',
429
  'Content-Type': 'application/json'
 
738
  # Check if ngrok server is online
739
  try:
740
  response = requests.get(
741
+ 'https://hound-patient-honestly.ngrok-free.app/',
742
  params={'api_key': '5as4d4f12sxdf45sfg46vawd74879ad5sd5AF4g6d8f4hfgb5'},
743
  headers={'accept': 'application/json'},
744
  timeout=5