TEXT 71
Untitled Guest on 11th January 2021 12:30:51 AM
  1. #!/bin/bash
  2. LOGFILE="$PWD/logs/$(date +"%Y-%m-%d-%H-%M-%S.%N").log"
  3. exec 3>&1 4>&2 >>$LOGFILE 2>&1
  4. youtube-dl --verbose --ignore-errors --no-continue --no-overwrites --keep-video --no-post-overwrites --download-archive archive.txt --write-description --write-info-json --write-annotations --write-thumbnail --all-subs --output "%(uploader)s-(%(uploader_id)s)/%(upload_date)s-%(title)s/%(upload_date)s-%(title)s-%(id)s.%(ext)s" -f bestvideo[ext=mp4]+bestaudio[ext=m4a] -- $1

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.