Spaces:
Paused
Paused
Commit ·
0d6e59e
1
Parent(s): 74da608
Update youtube.py
Browse files- youtube.py +1 -1
youtube.py
CHANGED
|
@@ -54,7 +54,7 @@ def youtube(link, resolusi_input):
|
|
| 54 |
stream = yt.streams.filter(progressive=True, resolution=resolusi).first()
|
| 55 |
|
| 56 |
if stream is None:
|
| 57 |
-
return
|
| 58 |
else:
|
| 59 |
filename = download_youtube(stream.url, nama_channel, judul_video)
|
| 60 |
return filename, judul_video, video_info
|
|
|
|
| 54 |
stream = yt.streams.filter(progressive=True, resolution=resolusi).first()
|
| 55 |
|
| 56 |
if stream is None:
|
| 57 |
+
return filename, judul_video, video_info
|
| 58 |
else:
|
| 59 |
filename = download_youtube(stream.url, nama_channel, judul_video)
|
| 60 |
return filename, judul_video, video_info
|