Spaces:
Runtime error
Runtime error
Next
commited on
Commit
β’
cac373a
1
Parent(s):
6c6fcb3
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def download_url(url, name):
|
|
14 |
def download_url_vid(url, name):
|
15 |
opts = {
|
16 |
"mp4": '-f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best"',
|
17 |
-
}
|
18 |
filename = f"{name}.mp4"
|
19 |
os.system(f"yt-dlp {opts} {url} -o {filename}")
|
20 |
return filename
|
|
|
14 |
def download_url_vid(url, name):
|
15 |
opts = {
|
16 |
"mp4": '-f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best"',
|
17 |
+
}
|
18 |
filename = f"{name}.mp4"
|
19 |
os.system(f"yt-dlp {opts} {url} -o {filename}")
|
20 |
return filename
|