Skip to content

Commit 9c43b3b

Browse files
committed
Users can input links now.
1 parent ded83a1 commit 9c43b3b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

downloader.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55

66
print(f"===============================\n Python YouTube Downloader v2.0\n===============================\n")
77

8-
# videoURL = str(input("Enter Video Link : "))
9-
videoURL = 'https://www.youtube.com/watch?v=mDTMBdYAjHI'
10-
# https://youtu.be/krsBRQbOPQ4?si=UKY-g36vKVM7Umqc : MrBeast Video
8+
videoURL = str(input("Enter Video Link : "))
9+
# videoURL = 'https://www.youtube.com/watch?v=mDTMBdYAjHI'
1110

1211
yt = YouTube(videoURL)
1312

@@ -39,6 +38,8 @@
3938
os.remove(f"{mediaPath}/{yt.title}.mp4")
4039
os.remove(f"{mediaPath}/{yt.title}.mp3")
4140

41+
print("Download Completed! ✔")
42+
4243

4344

4445

0 commit comments

Comments
 (0)