summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-08-22 20:59:02 -0500
committermsglm <msglm@techchud.xyz>2023-08-22 20:59:02 -0500
commita1e25b3b0849bb857f919220148c06e02a369d0c (patch)
treeb6457e1a25190123a3041a6201584bf2179cf383
parent7e9ff1a3869536c38631e3b98e0ec4c0242ebe71 (diff)
downloadstashley-a1e25b3b0849bb857f919220148c06e02a369d0c.tar.gz
stashley-a1e25b3b0849bb857f919220148c06e02a369d0c.tar.bz2
stashley-a1e25b3b0849bb857f919220148c06e02a369d0c.zip
fix WARC supportv1.0.9
-rwxr-xr-xstashley3
1 files changed, 2 insertions, 1 deletions
diff --git a/stashley b/stashley
index 92d9f1e..0aa22dc 100755
--- a/stashley
+++ b/stashley
@@ -13,7 +13,8 @@ do
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'"
+ fixedurlname=$(echo "$url"|sed -e "s/\//∕/g")
+ wget -e "robots=off" --mirror --warc-file="$fixedurlname" "$url"
;;
toyhouse | instagram | twitter | deviantart)
gallery-dl --write-metadata "$url"