Update app.py
Browse files
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":
|
| 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:
|