You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GetUrlScript.txt 647 B

54 years ago
54 years ago
54 years ago
12345678910
  1. begin
  2. ResultURL:=GetUrlBase+'&z='+inttostr(GetZ-1)+'&x='+inttostr(-((round(intpower(2,GetZ-1)))div 2)+(GetX))+'&y='+inttostr(-((Round(intpower(2,GetZ-1)))div 2)+ (Round(intpower(2,GetZ-1))-(GetY+1)));
  3. RequestHead:='User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0' + #13#10 +
  4. 'Accept: image/png,image/*;q=0.8,*/*;q=0.5' + #13#10 +
  5. 'Accept-Language: en-us,en;q=0.5' + #13#10 +
  6. 'Accept-Encoding: gzip, deflate' + #13#10 +
  7. 'Referer: http://kosmosnimki.ru/' + #13#10 +
  8. 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' + #13#10 +
  9. 'Connection: keep-alive' + #13#10;
  10. end.