Chrunos commited on
Commit
40fdd4e
·
verified ·
1 Parent(s): ff6354b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: