Reputation: 1039
How to convert something like
http://www.youtube.com/watch?v=ZYffV7qhvTc
into something like http://something.flv [the downloadable file of corresponding video]
in Python?
Upvotes: 5
Views: 3413
Reputation: 287835
youtube-dl. On the command line:
youtube-dl -g http://www.youtube.com/watch?v=ZYffV7qhvTc
If you want it in pure Python, have a look at the source code and call download
with the appropriate setup.
Upvotes: 5