Last active
April 7, 2020 20:41
-
-
Save bafflingscience/fb231bec49969ae780bc8f34123aa68c to your computer and use it in GitHub Desktop.
`yttDaily` downloads up to 10 items from each channel listed in the --batch-file, ignoring any previously downloaded videos listed in --download-archive, and adding newly downloaded videos to the --download-archive file.
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 | |
| /Library/Frameworks/Python.framework/Versions/3.8/bin/youtube-dl \ | |
| --verbose \ | |
| --playlist-items 1-10 \ | |
| --download-archive /Users/userman/Archive/downloaded.txt \ | |
| --reject-title "^[Tt]op*[0-9]*" \ | |
| --add-metadata \ | |
| --embed-thumbnail \ | |
| --embed-subs \ | |
| --sub-lang en \ | |
| --sub-format best \ | |
| --ignore-errors \ | |
| -o "/Volumes/usbSSD/Video/Channels/%(uploader)s/%(upload_date)s - %(title)s.%(ext)s" \ | |
| -f "mp4" \ | |
| --cookies /Users/userman/Archive/cookies.txt \ | |
| --batch-file /Users/userman/Archive/channels.txt \ | |
| echo "Great Job Dave! Wow!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment