updates to automations

This commit is contained in:
Stefen Auris 2023-10-14 17:00:53 -04:00
parent 5fb05f7e35
commit 51410ebd80
3 changed files with 11 additions and 15 deletions

View file

@ -1,4 +1,7 @@
#!/bin/bash
echo ">>> Updating Retweets"
gallery-dl --abort 3 --sleep 4 -o retweets=true "https://twitter.com/stefenauris"
gallery-dl --abort 3 --sleep 4 -o retweets=true "https://twitter.com/DaybreakHero"
echo ">>> Downloading Special Pics in no particular order..."
gallery-dl --sleep 4 --abort 3 https://twitter.com/TheBaddestRam
gallery-dl --sleep 4 --abort 3 https://twitter.com/Metal_AnimalMan
@ -22,7 +25,6 @@ gallery-dl --sleep 4 --abort 3 https://twitter.com/ZigZaggyZagg
gallery-dl --sleep 4 --abort 3 https://twitter.com/Wolfy_WolFang
gallery-dl --sleep 4 --abort 3 https://twitter.com/WolfSandman
gallery-dl --sleep 4 --abort 3 https://twitter.com/Wolf_ODaddy
gallery-dl --sleep 4 --abort 3 https://twitter.com/WolfByTheStream
gallery-dl --sleep 4 --abort 3 https://twitter.com/WeaselZERO
gallery-dl --sleep 4 --abort 3 https://twitter.com/WeaselAfterDark
gallery-dl --sleep 4 --abort 3 https://twitter.com/VectorShen
@ -32,6 +34,3 @@ gallery-dl --sleep 4 --abort 3 https://twitter.com/theonlyinleb
gallery-dl --sleep 4 --abort 3 https://twitter.com/The_Huggernaut
gallery-dl --sleep 4 --abort 3 https://twitter.com/TehBasco
gallery-dl --sleep 4 --abort 3 https://twitter.com/SwiftLPRD
echo ">>> Updating Retweets"
gallery-dl --abort 3 --sleep 4 -o retweets=true "https://twitter.com/stefenauris"
gallery-dl --abort 3 --sleep 4 -o retweets=true "https://twitter.com/DaybreakHero"

View file

@ -1,6 +1,7 @@
#!/bin/bash
N=2
cd $HOME/gallery-dl/furaffinity
gallery-dl --abort 3 --sleep 0-1 "https://www.furaffinity.net/favorites/stevo/"
for i in */; do
echo ">> $i"
(gallery-dl --abort 3 --sleep 0-1 https://www.furaffinity.net/user/$i || echo "$i" >> ~/fa_error.log) &
@ -8,5 +9,4 @@ for i in */; do
wait -n
fi
done
gallery-dl --abort 3 --sleep 0-1 "https://www.furaffinity.net/favorites/stevo/"
wait

View file

@ -1,16 +1,13 @@
#!/bin/bash
N=1
rm ~/twit_error.txt
cd $HOME/gallery-dl/twitter
echo ">>> Begin Downloads"
echo ">>>> Begin Downloads"
gallery-dl --abort 3 -o retweets=true "https://twitter.com/stefenauris"
gallery-dl --abort 3 -o retweets=true "https://twitter.com/DaybreakHero"
for i in */; do
echo ">> $i"
(gallery-dl --sleep 3 --abort 3 "https://twitter.com/$i" || echo "$i" >> ~/twit_error.txt) &
if [[ $(jobs -r -p | wc -l) -ge $N ]]; then
wait -n
fi
date
gallery-dl --sleep 3 --abort 3 "https://twitter.com/$i" || echo "$i" >> ~/twit_error.txt
echo " << waiting"
sleep 60
done
echo ">>> Updating Retweets"
gallery-dl --abort 3 --sleep 2 -o retweets=true "https://twitter.com/stefenauris"
gallery-dl --abort 3 --sleep 2 -o retweets=true "https://twitter.com/DaybreakHero"
wait