increase minimum time. not that it will matter soon
This commit is contained in:
parent
3add6ee3bd
commit
93c6fb77f5
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue