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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,7 +67,8 @@ 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
  }
72
  try:
73
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
 
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:
74
  with yt_dlp.YoutubeDL(ydl_opts) as ydl: