Last active
December 18, 2015 07:08
-
-
Save kshwetabh/5744026 to your computer and use it in GitHub Desktop.
Notes on Youtube.dl tool
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
1. Install | |
sudo apt-get install youtube-dl | |
sudo apt-get install libavcodec-extra-53 | |
2. Download video | |
-Single video | |
youtube-dl -f 18 <URL> | |
-Batch | |
youtube-dl -a filename.txt | |
3. Check all supported video formats for a youtube video | |
youtube-dl -F <URL> | |
4. Extract audio from youtube video url | |
youtube-dl <URL> --audio-format mp3 | |
5. Download all songs in a playlist: | |
youtube-dl -citk --max-quality FORMAT http://www.youtube.com/playlist?list=xxxxxx | |
You can use Linux based Soundconverter software (http://soundconverter.org/) to convert downloaded videos to mp3 | |
Online reference: | |
http://www.linuxb.in/2012/01/how-to-download-youtube-videos-in-linux.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment