Created
October 6, 2014 14:14
-
-
Save kktuax/8c8cef09ea6024ecc445 to your computer and use it in GitHub Desktop.
Pafy snippet
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
import pafy | |
url = "https://www.youtube.com/watch?v=DKuqcKdlAUs" | |
video = pafy.new(url) | |
best = video.getbest(preftype="mp4") | |
best.url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment