Created
September 25, 2017 22:11
-
-
Save AElouai/9b8c85c9752a03e224220e37998c45b5 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Demarage script | |
cd /media/obito/holder/pluralsight | |
read name | |
mkdir "$name" | |
cd "$name" | |
read text | |
youtube-dl -r 600k --username XXXX --password 'XXXXX' $text -o "%(playlist_index)s. %(title)s.%(ext)s" | |
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
#!/bin/bash | |
# Demarage script | |
# Demarage script | |
# path where to put the MPS files | |
cd /media/obito/x/3 | |
while true; do | |
read text | |
youtube-dl -f bestaudio --audio-quality 0 --audio-format mp3 -i -x --extract-audio $text | |
done | |
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
#!/bin/bash | |
# Demarage script | |
while true; do | |
cd /media/obito/x/4 | |
read text | |
youtube-dl -f mp4 $text | |
#youtube-dl -f mp4 $text | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment