Rei10 Posted December 28, 2019 Posted December 28, 2019 $jk = "page-url=tel:phone&charset=utf-8&ut=noindex&force-urlencoded=1&browser-" $oHTTP = ObjCreate('MSXML2.XMLHTTP.6.0') ;$oHTTP = ObjCreate("winhttp.winhttprequest.5.1") $oHTTP.Option(6) = False $oHTTP.Open("POST", 'https://m.avito.ru/gelendzhik/odezhda_obuv_aksessuary/kombinezon_novyy_1341589530', False) $oHTTP.SetRequestHeader("User-Agent", "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; SCH-I535 Build/KOT49H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30") $oHTTP.SetRequestHeader("Referer", 'https://m.avito.ru/gelendzhik/odezhda_obuv_aksessuary/kombinezon_novyy_1341589530') $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded") $oHTTP.Send($jk) $HeaderResponses = $oHTTP.GetAllResponseHeaders() $resp=$oHTTP.ResponseText FileWrite("telephone.html", $resp)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now