diff options
author | msglm <msglm@techchud.xyz> | 2023-08-09 01:31:46 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-08-09 01:31:46 -0500 |
commit | 7e9ff1a3869536c38631e3b98e0ec4c0242ebe71 (patch) | |
tree | 1f3bacfcf7ffe9fbecffb0ed1de55798227c6b15 | |
parent | c6491c74f7f439fb339a96f8ea0ff787085ee056 (diff) | |
download | stashley-7e9ff1a3869536c38631e3b98e0ec4c0242ebe71.tar.gz stashley-7e9ff1a3869536c38631e3b98e0ec4c0242ebe71.tar.bz2 stashley-7e9ff1a3869536c38631e3b98e0ec4c0242ebe71.zip |
tiktok goes into the tiktok folderv1.0.8
-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'" ;; |