increased max wait time
This commit is contained in:
parent
e63893a89d
commit
3add6ee3bd
1 changed files with 3 additions and 3 deletions
|
@ -4,12 +4,12 @@ rm ~/twit_error.txt
|
||||||
cd $HOME/gallery-dl/twitter
|
cd $HOME/gallery-dl/twitter
|
||||||
for i in */; do
|
for i in */; do
|
||||||
echo ">> $i"
|
echo ">> $i"
|
||||||
(gallery-dl --sleep 0-1 --abort 3 "https://twitter.com/$i" || echo "Problem with gallery at https://twitter.com/$i" >> ~/twit_error.txt) &
|
(gallery-dl --sleep 0-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
|
if [[ $(jobs -r -p | wc -l) -ge $N ]]; then
|
||||||
wait -n
|
wait -n
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo ">>> Updating Retweets"
|
echo ">>> Updating Retweets"
|
||||||
gallery-dl --abort 3 --sleep 0-1 -o retweets=true "https://twitter.com/stefenauris"
|
gallery-dl --abort 3 --sleep 0-2 -o retweets=true "https://twitter.com/stefenauris"
|
||||||
gallery-dl --abort 3 --sleep 0-1 -o retweets=true "https://twitter.com/DaybreakHero"
|
gallery-dl --abort 3 --sleep 0-2 -o retweets=true "https://twitter.com/DaybreakHero"
|
||||||
wait
|
wait
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue