Skip to content

Instantly share code, notes, and snippets.

@springcoil
Last active May 28, 2021 08:36
Show Gist options
  • Save springcoil/246cce66056f7e42ebad667da84872e7 to your computer and use it in GitHub Desktop.
Save springcoil/246cce66056f7e42ebad667da84872e7 to your computer and use it in GitHub Desktop.
download and create audio
def downloadYouTube(videourl, filename):
yt = YouTube(videourl)
yt.streams.get_highest_resolution().download(filename = "./" + filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment