diff options
-rwxr-xr-x | stashley | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,9 +6,12 @@ do tomlq -r ".$site.urls[]" "$1" | while IFS= read -r url; do case "$site" in - youtube | tiktok) + youtube) yt-dlp --write-info-json --write-description --write-thumbnail --write-annotations --all-subs --ignore-error -f 'bestvideo[height>=720][fps>=60]+bestaudio/bestvideo+bestaudio/best' -o 'YouTube/%(uploader|author)s/%(title)s.%(ext)s' "$url" ;; + tiktok) + yt-dlp --write-info-json --write-description --write-thumbnail --write-annotations --all-subs --ignore-error -f 'bestvideo[height>=720][fps>=60]+bestaudio/bestvideo+bestaudio/best' -o 'TikTok/%(uploader|author)s/%(title)s.%(ext)s' "$url" + ;; website) wget --mirror --warc-file="echo $url|sed -e '//\//slash/g'" ;; |