var
  khm: string;
begin 
 khm := RegExprReplaceMatchSubStr(GetURLBase, 'khms\.google', 'khms'+inttostr( Random(4) )+'.google' );
 ResultURL := GetUrlBase + '&x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&z='+inttostr(GetZ-1);
 
RequestHead :=
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,image/*,*/*;q=0.9,application/signed-exchange;v=b3;q=0.9' + #13#10 +
'Accept-Encoding: gzip, deflate, br' + #13#10 +
'Accept-Language: ru,ru-RU;q=0.9,en-US;q=0.8,en;q=0.7,pt;q=0.6,uk;q=0.5,cs;q=0.4,und;q=0.3,zh-CN;q=0.2,zh;q=0.1' + #13#10 +
'Cache-Control: max-age=0' + #13#10 +
'Connection: keep-alive' + #13#10 +
'Cookie: HWWAFSESID=69d1f10ed641083f428e; HWWAFSESTIME=1608635024099' + #13#10 +
'DNT: 1' + #13#10 +
'Referer: http://www.gditu.net/' + #13#10 +
'Host:img2.xs.cdnyes.com' + #13#10 +
'sec-ch-ua: "Google Chrome";v="87", " Not;A Brand";v="99", "Chromium";v="87"' + #13#10 +
'sec-ch-ua-mobile: ?0' + #13#10 +
'Sec-Fetch-Dest: document' + #13#10 +
'Sec-Fetch-Mode: navigate' + #13#10 +
'Sec-Fetch-Site: none' + #13#10 +
'Sec-Fetch-User: ?1' + #13#10 +
'Upgrade-Insecure-Requests: 1' + #13#10 +
'User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.25 Mobile Safari/537.36';
end.
