Spaces:
Runtime error
Runtime error
Worst video
Browse files- tools/download/video.py +1 -1
tools/download/video.py
CHANGED
|
@@ -76,7 +76,7 @@ def _perform_download(
|
|
| 76 |
ydl_opts = {
|
| 77 |
"format": "bestaudio/best"
|
| 78 |
if onlyAudio
|
| 79 |
-
else "
|
| 80 |
"paths": {"home": destinationDirectory},
|
| 81 |
"ignoreerrors": True,
|
| 82 |
}
|
|
|
|
| 76 |
ydl_opts = {
|
| 77 |
"format": "bestaudio/best"
|
| 78 |
if onlyAudio
|
| 79 |
+
else "worstvideo[ext=mp4][vcodec^=avc1]+bestaudio[ext=m4a]/worst",
|
| 80 |
"paths": {"home": destinationDirectory},
|
| 81 |
"ignoreerrors": True,
|
| 82 |
}
|