diff options
author | techchud <protrude_paying969@simplelogin.com> | 2025-08-17 19:35:25 -0500 |
---|---|---|
committer | techchud <protrude_paying969@simplelogin.com> | 2025-08-17 19:35:25 -0500 |
commit | 35d7757438693105e38ab9073a3b714ec0c86a97 (patch) | |
tree | 1f3bacfcf7ffe9fbecffb0ed1de55798227c6b15 | |
parent | 098519d3c36bcde1bb891441610bd5b879bba1a0 (diff) | |
download | stashley-35d7757438693105e38ab9073a3b714ec0c86a97.tar.gz stashley-35d7757438693105e38ab9073a3b714ec0c86a97.tar.bz2 stashley-35d7757438693105e38ab9073a3b714ec0c86a97.zip |
tiktok goes into the tiktok folder
-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'" ;; |