php - Autoit download whole source of site -


i trying download source-code of website. made work in autoit in php....buuut problem source code not entire. html of few items generated script werent downloaded.

i working on school project probability in casino games(especially roulette).and want download these numbers: numbers page: http://csgocircle.com/ create statistics. do wrong ?

thanks !

autoit:

#include <inet.au3> #include <winhttp.au3>     $url="http://csgocircle.com/"    $http_protocol = objcreate("winhttp.winhttprequest.5.1")    $http_protocol.setrequestheader("content-type", "application/x-www-form-urlencoded")    $http_protocol.setrequestheader("user-agent", "mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, gecko) chrome/49.0.2623.110 safari/537.36")    $http_protocol.open("get", $url)    $http_protocol.send($cookie)    $http_protocol.waitforresponse    $http_auth3 = $http_protocol.responsebody    consolewrite($http_auth3)  exit 

or php:

<?php $url="http://csgocircle.com/"; $homepage = file_get_contents($url); echo htmlspecialchars( $homepage ); 

enter image description here

in autoit, should load url in ie , full html.

#include <ie.au3>  $url = "http://csgocircle.com/" $oie = _iecreate($url, 0, 0, 1, 0 ) ;~ sleep(2000) ; sleep in order wait js/ajax finish page $html = _iedocreadhtml($oie) _iequit($oie) consolewrite($html) 

Comments