Created
April 24, 2015 05:36
-
-
Save pkmital/cb828230210e685d628f to your computer and use it in GitHub Desktop.
YouTube Smash Up - Download Script
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 | |
youtube-dl --playlist-end 10 -o '%(playlist_index)s.%(ext)s' https://www.youtube.com/channel/UCF0pVplsI8R5kcAqgtoRqoA/videos?view=10&flow=list&live_view=10 | |
for i in `ls *.mp4`; do `ffmpeg -i $i -vn -y "$i".wav`; done | |
youtube-dl -J --playlist-end 10 https://www.youtube.com/channel/UCF0pVplsI8R5kcAqgtoRqoA/videos?view=10 | json_reformat > titles.json | |
#output=$(youtube-dl -J --playlist-end 10 https://www.youtube.com/channel/UCF0pVplsI8R5kcAqgtoRqoA/videos?view=10 <&3) | |
#echo $output > titles.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment