increase minimum time. not that it will matter soon

This commit is contained in:
Stefen Auris 2023-02-03 00:12:19 -05:00
parent 3add6ee3bd
commit 93c6fb77f5

View file

@ -4,12 +4,12 @@ rm ~/twit_error.txt
cd $HOME/gallery-dl/twitter
for i in */; do
echo ">> $i"
(gallery-dl --sleep 0-2 --abort 3 "https://twitter.com/$i" || echo "Problem with gallery at https://twitter.com/$i" >> ~/twit_error.txt) &
(gallery-dl --sleep 0.5-2 --abort 3 "https://twitter.com/$i" || echo "Problem with gallery at https://twitter.com/$i" >> ~/twit_error.txt) &
if [[ $(jobs -r -p | wc -l) -ge $N ]]; then
wait -n
fi
done
echo ">>> Updating Retweets"
gallery-dl --abort 3 --sleep 0-2 -o retweets=true "https://twitter.com/stefenauris"
gallery-dl --abort 3 --sleep 0-2 -o retweets=true "https://twitter.com/DaybreakHero"
gallery-dl --abort 3 --sleep 0.5-2 -o retweets=true "https://twitter.com/stefenauris"
gallery-dl --abort 3 --sleep 0.5-2 -o retweets=true "https://twitter.com/DaybreakHero"
wait