dragxd commited on
Commit
bb64521
·
verified ·
1 Parent(s): 5030b3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,7 +40,7 @@ def get_audio_link(req: VideoRequest):
40
  'format': 'bestaudio/best',
41
  'skip_download': True,
42
  'forceurl': True,
43
- 'cookies': COOKIES_PATH if os.path.isfile(COOKIES_PATH) else None
44
  'cache_dir': False
45
  }
46
  try:
@@ -67,7 +67,7 @@ def get_video_link(req: VideoRequest):
67
  'format': 'best[height<=720][width<=1280]',
68
  'skip_download': True,
69
  'forceurl': True,
70
- 'cookies': COOKIES_PATH if os.path.isfile(COOKIES_PATH) else None
71
  'cache_dir': False
72
  }
73
  try:
 
40
  'format': 'bestaudio/best',
41
  'skip_download': True,
42
  'forceurl': True,
43
+ 'cookies': COOKIES_PATH if os.path.isfile(COOKIES_PATH) else None,
44
  'cache_dir': False
45
  }
46
  try:
 
67
  'format': 'best[height<=720][width<=1280]',
68
  'skip_download': True,
69
  'forceurl': True,
70
+ 'cookies': COOKIES_PATH if os.path.isfile(COOKIES_PATH) else None,
71
  'cache_dir': False
72
  }
73
  try: