From 6b7c3a84948e01f927c7e0d2289d628a17fa4b88 Mon Sep 17 00:00:00 2001 From: Oscar Vestlund <ove@lysator.liu.se> Date: Sun, 14 Aug 2022 11:42:53 +0200 Subject: [PATCH] adjust sleeptimes --- safescrape.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/safescrape.sh b/safescrape.sh index c60c194..4a658a4 100755 --- a/safescrape.sh +++ b/safescrape.sh @@ -9,10 +9,11 @@ do cat pagelist.txt.template > pagelist.txt echo "$Line" >> pagelist.txt python3 Seleniumparser.py + sleep 10 done ~/cshg/cshg -i -d txt/ cp -r html/* ~/.liupeeker/ - randomwaittime=$(echo $(( $RANDOM % 300 + 300 ))) + randomwaittime=$(echo $(( $RANDOM % 720 + 420 ))) echo "waiting for $randomwaittime" sleep $randomwaittime done -- GitLab