mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
get_reestr size limit increase
This commit is contained in:
@@ -13,7 +13,7 @@ ZURL=http://reestr.rublacklist.net/api/current
|
||||
|
||||
$EXEDIR/get_user.sh
|
||||
|
||||
curl --fail --max-time 60 --max-filesize 10485760 "$ZURL" >$ZREESTR && {
|
||||
curl --fail --max-time 60 --max-filesize 20971520 "$ZURL" >$ZREESTR && {
|
||||
dlsize=$(wc -c "$ZREESTR" | cut -f 1 -d ' ')
|
||||
if test $dlsize -lt 204800; then
|
||||
echo list file is too small. can be bad.
|
||||
|
Reference in New Issue
Block a user