summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-08-09 01:31:46 -0500
committermsglm <msglm@techchud.xyz>2023-08-09 01:31:46 -0500
commit7e9ff1a3869536c38631e3b98e0ec4c0242ebe71 (patch)
tree1f3bacfcf7ffe9fbecffb0ed1de55798227c6b15
parentc6491c74f7f439fb339a96f8ea0ff787085ee056 (diff)
downloadstashley-7e9ff1a3869536c38631e3b98e0ec4c0242ebe71.tar.gz
stashley-7e9ff1a3869536c38631e3b98e0ec4c0242ebe71.tar.bz2
stashley-7e9ff1a3869536c38631e3b98e0ec4c0242ebe71.zip
tiktok goes into the tiktok folderv1.0.8
-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'"
;;