We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7e971 commit aa0e953Copy full SHA for aa0e953
YouTube Audio Downloader/YouTubeAudioDownloader.py
@@ -0,0 +1,16 @@
1
+import pafy
2
+
3
+url = "insert_url_to_youtube_video_here"
4
5
+video = pafy.new(url)
6
7
+print("_________VIDEO__DETAILS_________")
8
+print("Title:", video.title)
9
+print("Rating:", video.rating)
10
+print("View Count:", video.viewcount)
11
+print("Author:", video.author)
12
+print("Length:", video.length)
13
14
+#Selects the audio stream with the highest bitrate.
15
+bestaudio = video.getbestaudio()
16
+bestaudio.download()
0 commit comments