Advertisement
BuzzinH

Youtube-DL script 1.1

Dec 17th, 2017
3,865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. #!/bin/sh
  2. YTUSR=youtubechannelnamehere
  3. LOG=output.log
  4. echo "****** $(date -R) ******" >> $LOG
  5. echo "****** $(uptime) ******" >> $LOG
  6. 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
  7. echo "****** $(date -R) ******" >> $LOG
  8. echo "****** $(uptime) ******" >> $LOG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement