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