Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- YTUSR=youtubechannelnamehere
- LOG=output.log
- echo "****** $(date -R) ******" >> $LOG
- echo "****** $(uptime) ******" >> $LOG
- youtube-dl --download-archive "filelist.txt" -ciw --no-progress --write-thumbnail --write-description -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4/best ytuser:$YTUSR -o "%(upload_date)s.%(title)s.%(ext)s" --restrict-filenames >> $LOG
- echo "****** $(date -R) ******" >> $LOG
- echo "****** $(uptime) ******" >> $LOG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement