summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechchud <protrude_paying969@simplelogin.com>2025-08-17 19:35:25 -0500
committertechchud <protrude_paying969@simplelogin.com>2025-08-17 19:35:25 -0500
commit35d7757438693105e38ab9073a3b714ec0c86a97 (patch)
tree1f3bacfcf7ffe9fbecffb0ed1de55798227c6b15
parent098519d3c36bcde1bb891441610bd5b879bba1a0 (diff)
downloadstashley-35d7757438693105e38ab9073a3b714ec0c86a97.tar.gz
stashley-35d7757438693105e38ab9073a3b714ec0c86a97.tar.bz2
stashley-35d7757438693105e38ab9073a3b714ec0c86a97.zip
tiktok goes into the tiktok folder
-rwxr-xr-xstashley5
1 files changed, 4 insertions, 1 deletions
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'"
;;