Created
November 9, 2014 09:12
-
-
Save blackhalt/5f06e3ab4637208b5e61 to your computer and use it in GitHub Desktop.
youtube-dl-vilkt-listi.sh
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 characters
#!/bin/bash | |
curl https://gdata.youtube.com/feeds/api/playlists/PLSXzc1tWmGap6RzMwNo47WNNr_CxXb9Ur?max-results=50| \ | |
grep -oi "https://www.youtube.com/watch?v=[a-zA-Z0-9_-.]*"| \ | |
sort -u| \ | |
xargs youtube-dl --format best |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Programma neprot pāriet pa lapām :/