Skip to content

Instantly share code, notes, and snippets.

@bafflingscience
Last active April 7, 2020 20:41
Show Gist options
  • Save bafflingscience/fb231bec49969ae780bc8f34123aa68c to your computer and use it in GitHub Desktop.
Save bafflingscience/fb231bec49969ae780bc8f34123aa68c to your computer and use it in GitHub Desktop.

Revisions

  1. bafflingscience revised this gist Apr 7, 2020. No changes.
  2. bafflingscience created this gist Apr 7, 2020.
    18 changes: 18 additions & 0 deletions yttDaily
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    #!/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!"