Forked from umidjons/youtube-dl-download-audio-only-on-best-quality.md
          
        
    
          Created
          June 16, 2018 14:29 
        
      - 
      
 - 
        
Save shekkbuilder/a3afc487152ab30b1e34cd6c724c7895 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
umidjons revised this gist
Sep 26, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -27,6 +27,6 @@ youtube-dl -ict --yes-playlist --extract-audio --audio-format mp3 --audio-qualit # Download playlist, --download-archive downloaded.txt add successfully downloaded files into downloaded.txt youtube-dl --download-archive downloaded.txt --no-overwrites -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 --socket-timeout 5 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg # Retry until success, no -i option while ! youtube-dl --download-archive downloaded.txt --no-overwrites -ct --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 --socket-timeout 5 <YT_PlayList_URL>; do echo DISCONNECTED; sleep 5; done ```  - 
        
umidjons revised this gist
Sep 26, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -26,4 +26,7 @@ youtube-dl -ict --yes-playlist --extract-audio --audio-format mp3 --audio-qualit # Download playlist, --download-archive downloaded.txt add successfully downloaded files into downloaded.txt youtube-dl --download-archive downloaded.txt --no-overwrites -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 --socket-timeout 5 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg # Retry until success while ! youtube-dl --download-archive downloaded.txt --no-overwrites -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 --socket-timeout 5 <YT_PlayList_URL>; do echo DISCONNECTED; sleep 5; done ```  - 
        
umidjons revised this gist
Sep 26, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -25,5 +25,5 @@ youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 YT_URL youtube-dl -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg # Download playlist, --download-archive downloaded.txt add successfully downloaded files into downloaded.txt youtube-dl --download-archive downloaded.txt --no-overwrites -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 --socket-timeout 5 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg ```  - 
        
umidjons revised this gist
Sep 26, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -25,5 +25,5 @@ youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 YT_URL youtube-dl -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg # Download playlist, --download-archive downloaded.txt add successfully downloaded files into downloaded.txt youtube-dl --download-archive downloaded.txt --no-overwrites -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg ```  - 
        
umidjons revised this gist
Sep 26, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,7 @@ youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 YT_URL # Download playlist youtube-dl -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg # Download playlist, --download-archive downloaded.txt add successfully downloaded files into downloaded.txt youtube-dl --download-archive downloaded.txt -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg ```  - 
        
umidjons revised this gist
Sep 25, 2017 . 1 changed file with 11 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,15 +2,25 @@ `-i` - ignore errors `-c` - continue `-t` - use video title as file name `--extract-audio` - extract audio track `--audio-format mp3` - convert to mp3 `--audio-quality 0` - the best audio quality `--yes-playlist` - affirm that url points to a playlist `YT_URL` - video url from youtube ```bash # Download single entry youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 YT_URL # Download playlist youtube-dl -ict --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list=UUCvVpbYRgYjMN7mG7qQN0Pg ```  - 
        
umidjons revised this gist
Sep 25, 2017 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,16 @@ # Download Audio from YouTube `-i` - ignore errors `--extract-audio` - extract audio track `--audio-format mp3` - convert to mp3 `--audio-quality 0` - the best audio quality `YT_URL` - video url from youtube ```bash youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 YT_URL ```  - 
        
umidjons created this gist
Sep 25, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Download Audio from YouTube `-i` - ignore errors `--extract-audio` - extract audio track `--audio-format mp3` - convert to mp3 `--audio-quality 0` - the best audio quality `YT_URL` - video url from youtube ```bash youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 YT_URL ```