From 7e9ff1a3869536c38631e3b98e0ec4c0242ebe71 Mon Sep 17 00:00:00 2001 From: msglm Date: Wed, 9 Aug 2023 01:31:46 -0500 Subject: tiktok goes into the tiktok folder --- stashley | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stashley b/stashley index 0ce069d..92d9f1e 100755 --- a/stashley +++ b/stashley @@ -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'" ;; -- cgit v1.2.3