Last active
September 14, 2023 06:53
-
-
Save erdum/6eca864fa69ed642232f321ab72f323e to your computer and use it in GitHub Desktop.
Download highest quality audio of YouTube video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pytube import YouTube | |
yt = YouTube('http://youtube.com/watch?v=2lAe1cqCOXo') | |
yt.streams.get_audio_only().download(filename="test.mp3") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment