Last active
June 10, 2019 07:25
-
-
Save akhdaniel/4b9ab282f503c8782480025427024ec6 to your computer and use it in GitHub Desktop.
Python Download Youtube videos
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
#pip install youtube-dl | |
#create data.txt berisi ID video youtube per baris | |
# misalnya URL https://www.youtube.com/watch?v=qZ-ouYWCASo&feature=youtu.be | |
# ID nya adalah qZ-ouYWCASo | |
while read p; do | |
echo "$p" | |
youtube-dl -f best https://youtube.com/watch?v=$p | |
done < data.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment