mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-23 07:58:09 +03:00
get_reestr: download compressed from github
This commit is contained in:
@@ -28,7 +28,7 @@ dig_reestr()
|
||||
}
|
||||
|
||||
getuser && {
|
||||
curl -k --fail --max-time 600 --connect-timeout 5 --retry 3 --max-filesize 251658240 "$ZURL_REESTR" -o "$ZREESTR" ||
|
||||
curl -H "Accept-Encoding: gzip" -k --fail --max-time 600 --connect-timeout 5 --retry 3 --max-filesize 251658240 "$ZURL_REESTR" | gunzip - >"$ZREESTR" ||
|
||||
{
|
||||
echo reestr list download failed
|
||||
exit 2
|
||||
|
||||
Reference in New Issue
Block a user