Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
•
580fa68
1
Parent(s):
0e72faf
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,9 @@ def get_video(url):
|
|
40 |
mp4_720p_files = mp4_files.get_by_resolution("720p")
|
41 |
mp4_1080p_files = mp4_files.get_by_resolution("1080p")
|
42 |
|
43 |
-
if(mp4_360p_files) mp4_360p_files.download(temp_addr)
|
44 |
-
if(mp4_720p_files) mp4_720p_files.download(temp_addr)
|
45 |
-
if(mp4_1080p_files) mp4_1080p_files.download(temp_addr)
|
46 |
|
47 |
notify = "Video(s) fetched successfuly."
|
48 |
print(notify)
|
|
|
40 |
mp4_720p_files = mp4_files.get_by_resolution("720p")
|
41 |
mp4_1080p_files = mp4_files.get_by_resolution("1080p")
|
42 |
|
43 |
+
if(mp4_360p_files): mp4_360p_files.download(temp_addr)
|
44 |
+
if(mp4_720p_files): mp4_720p_files.download(temp_addr)
|
45 |
+
if(mp4_1080p_files): mp4_1080p_files.download(temp_addr)
|
46 |
|
47 |
notify = "Video(s) fetched successfuly."
|
48 |
print(notify)
|