youtube-dl.py – Download Videos, Playlists and Channels from youtube since terminal.

http://www.reversehack.in/index.php/linux/37-tutorial/51-how-to-download-entire-playlist-off-youtube

SETUP:
1) Download youtube-dl from here.(NOTE: some browsers may open it as a text file, in that case ‘right-click’ and ‘save link as’ “youtube-dl.py”)
2) Open cmd/terminal and ‘cd’ into the directory where you downloaded youtube-dl.py
3) type :
$python youtube-dl.py “<link>”
example:
TIPS/TRICKS
wasn’t that quite easy?! well youtube-dl has much more than this…
 
    -> python youtube-dl.py – -playlist-start 1 – -playlist-end 5 “<playlist url>” | This will download only first 5 videos of the playlist
    -> python youtube-dl.py -F  “<url>” | This will show all the available downloadable formats
    -> python youtube-dl.py -f xx  “<url>” | This will download the format specified. Here, xx is a 2 digit code corresponding to each format.
    -> python youtube-dl.py  – -match-title  <pattern>  “<channel/playlist url>” | will download only those videos having <pattern> in their titles
    -> python youtube-dl.py  -h | will display help about all other options available
    -> python youtube-dl.py  -U | This will update youtube-dl to the latest version. Updating youtube-dl is MOST IMPORTANT and you MUST do it regularly.
 
NOTE: If you are on any famous Linux Distro, you must be having youtube-dl in you repository.
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s