Next commited on
Commit
cac373a
β€’
1 Parent(s): 6c6fcb3

Update app.py

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