vumichien commited on
Commit
80fb220
1 Parent(s): b4e9c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -188,7 +188,7 @@ def yt_transcribe(yt_url):
188
  'preferredquality': '192',
189
  }],
190
  'outtmpl':'audio.%(ext)s',
191
- 'cookiesfrombrowser': 'chrome',
192
  }
193
 
194
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
@@ -206,7 +206,7 @@ def get_youtube(video_url):
206
 
207
  ydl_opts = {
208
  'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best',
209
- 'cookiesfrombrowser': 'chrome',
210
  }
211
 
212
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
 
188
  'preferredquality': '192',
189
  }],
190
  'outtmpl':'audio.%(ext)s',
191
+ 'cookiesfrombrowser': ('chrome',),
192
  }
193
 
194
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
 
206
 
207
  ydl_opts = {
208
  'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best',
209
+ 'cookiesfrombrowser': ('chrome',),
210
  }
211
 
212
  with yt_dlp.YoutubeDL(ydl_opts) as ydl: