Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|