From 33b01a7b836c693601d76ba2c4df634301a72cd3 Mon Sep 17 00:00:00 2001 From: sc-idevops Date: Fri, 12 Jan 2024 20:29:19 -0500 Subject: [PATCH] new script and retired old one --- scripts/{server_bin => archive}/twitch_fullArchive.sh | 0 scripts/server_bin/twitt_follow.sh | 10 ++++++++++ 2 files changed, 10 insertions(+) rename scripts/{server_bin => archive}/twitch_fullArchive.sh (100%) create mode 100755 scripts/server_bin/twitt_follow.sh diff --git a/scripts/server_bin/twitch_fullArchive.sh b/scripts/archive/twitch_fullArchive.sh similarity index 100% rename from scripts/server_bin/twitch_fullArchive.sh rename to scripts/archive/twitch_fullArchive.sh diff --git a/scripts/server_bin/twitt_follow.sh b/scripts/server_bin/twitt_follow.sh new file mode 100755 index 0000000..e21bfcd --- /dev/null +++ b/scripts/server_bin/twitt_follow.sh @@ -0,0 +1,10 @@ +#!/bin/bash +target=/home/stev/Pictures/gallery-dl/twitter/follow.txt +#edit follows file in place +sed -n -i '/^@/p' $target +sed -ie 's/^.//' $target +#loop through the list and download +for i in `cat $target`; do + gallery-dl --sleep 4 --abort 3 "https://twitter.com/$i" +done +