Update app.py
Browse files
app.py
CHANGED
@@ -140,6 +140,7 @@ async def get_transcript(youtube_url: str):
|
|
140 |
'noplaylist': True
|
141 |
}
|
142 |
cookiefile = "firefox-cookies.txt"
|
|
|
143 |
ydl_opts["cookiefile"] = cookiefile
|
144 |
|
145 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
|
|
140 |
'noplaylist': True
|
141 |
}
|
142 |
cookiefile = "firefox-cookies.txt"
|
143 |
+
env_to_cookies_from_env("firefox-cookies.txt")
|
144 |
ydl_opts["cookiefile"] = cookiefile
|
145 |
|
146 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|