How to download single video -
$ youtube-dl is a very powerful utility in Linux to download videos from Youtube or other similar sites.
To download just one video use the below syntax
$ youtube-dl -cti "URL-Here"c - continue
t - save video by title name
i - Ignore errors
To download all the episodes of some serial or series, play the playlist of that particular series and use the same syntax. It will download all the files automatically and will place in the PWD i.e. Present Working Directory.
for example , lets say, to download all the episode of 'The big bang theory' use the below syntax.
$ youtube-dl -cti http://www.youtube.com/playlist?list=PLRYyxuonWRJt7dfu-6Z-aGyQtBpcMLA8K
How to get the playlist link -
click on the 'play all' link. Then remove the part starting from 'watch' till '&' before word 'list' in the URL and put 'playlist?' in place of that and you get the URL which look like in the below example syntax.)
i.e. this link
http://www.youtube.com/watch?v=RXMPvdDhmZI&list=PLRYyxuonWRJt7dfu-6Z-aGyQtBpcMLA8K (remove red part)
becomes this -
http://www.youtube.com/playlist?list=PLRYyxuonWRJt7dfu-6Z-aGyQtBpcMLA8K
No comments:
Post a Comment