tecuts commited on
Commit
f11df80
·
verified ·
1 Parent(s): a79e282

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -143,11 +143,10 @@ async def get_info(
143
  "encoding": "utf8",
144
  "noplaylist": not playlist,
145
  "dump_single_json": True,
146
- "format": quality if quality else "bestvideo+bestaudio/best",
147
  "ignoreerrors": True,
148
  "extract_flat": playlist,
149
- "cachedir": "/tmp/yt-dlp-cache",
150
- "js-runtimes": "node"
151
  }
152
 
153
  with YoutubeDL(ydl_options) as ytdl:
 
143
  "encoding": "utf8",
144
  "noplaylist": not playlist,
145
  "dump_single_json": True,
146
+ "format": "bestvideo+bestaudio/best",
147
  "ignoreerrors": True,
148
  "extract_flat": playlist,
149
+ "cachedir": "/tmp/yt-dlp-cache"
 
150
  }
151
 
152
  with YoutubeDL(ydl_options) as ytdl: