Naman0001 commited on
Commit
3ff7c52
·
verified ·
1 Parent(s): f61fd58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def download_youtube_video(url):
19
  # Download video
20
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
21
  info_dict = ydl.extract_info(url, download=True)
22
- filename = ydl.prepare_filename(info_dict)
23
  print(filename)
24
  return filename
25
 
 
19
  # Download video
20
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
21
  info_dict = ydl.extract_info(url, download=True)
22
+ filename = ydl.prepare_filename(info_dict) + ".webm"
23
  print(filename)
24
  return filename
25