fixed typo, updated todo

This commit is contained in:
Albert S. 2017-04-15 18:19:26 +02:00
parent d53b17d189
commit 3dc43fb109
2 changed files with 3 additions and 1 deletions

2
TODO
View File

@ -3,3 +3,5 @@
sent by the user agents we use.
-how random is "shuf" and is it a problem?
-update random default on every loop?
-RSS clients fetch favicon from original URL...

View File

@ -27,7 +27,7 @@ while true ; do
fi
useragent=""
if [ -n "$useragentsfile" ] ; then
useragent=$( shuffle -n 1 "$useragentsfile" )
useragent=$( shuf -n 1 "$useragentsfile" )
fi
echo "Sleeping for $sleepfor seconds for $url"
sleep "$sleepfor"