From a1e25b3b0849bb857f919220148c06e02a369d0c Mon Sep 17 00:00:00 2001 From: msglm Date: Tue, 22 Aug 2023 20:59:02 -0500 Subject: fix WARC support --- stashley | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3