From 558ff99c50633204a6695451067065c25946886e Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- etokarta.zmp/GetUrlScript.txt | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/etokarta.zmp/GetUrlScript.txt b/etokarta.zmp/GetUrlScript.txt index abf7ed1a..37cff065 100644 --- a/etokarta.zmp/GetUrlScript.txt +++ b/etokarta.zmp/GetUrlScript.txt @@ -1,12 +1,14 @@ begin - ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetZ)+'-0'+inttostr(Getx)+'-0'+inttostr(Gety)+'.jpg'; - RequestHead:='User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0' + #13#10 + - 'Accept: image/png,image/*;q=0.8,*/*;q=0.5' + #13#10 + - 'Accept-Language: en-us,en;q=0.5' + #13#10 + - 'Accept-Encoding: gzip, deflate' + #13#10 + - 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' + #13#10 + - 'Keep-Alive: 115' + #13#10 + - 'Connection: keep-alive' + #13#10 + - 'Referer: http://etokarta.com/karta-vitebska' + #13#10 + - 'Cookie: gc=polotsk; cc=1' + #13#10; + if (GetZ = 18) then begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetZ)+'-0'+inttostr(Getx)+'-0'+inttostr(Gety)+'.jpg'; + RequestHead:='User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0' + #13#10 + + 'Accept: image/png,image/*;q=0.8,*/*;q=0.5' + #13#10 + + 'Accept-Language: en-us,en;q=0.5' + #13#10 + + 'Accept-Encoding: gzip, deflate' + #13#10 + + 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' + #13#10 + + 'Keep-Alive: 115' + #13#10 + + 'Connection: keep-alive' + #13#10 + + 'Referer: http://etokarta.com/karta-vitebska' + #13#10 + + 'Cookie: gc=polotsk; cc=1' + #13#10; + end; end. \ No newline at end of file