vb.net - Scraping from encrypted HTML -


i want scrape data vb.net form http://zvartnots.am/new/ downloaded code came white part actual table need.

<th width="93">Факт. время прибытия</th>                                             </tr>            

between these tags code need auto-scrape

</thead> <tbody id="flight_data"> 

this code of part need (encrypted) , here scrape

protected function gethtml(byval url string)     dim rt string = ""      dim wreq webrequest     dim wres webresponse      dim sreader streamreader     try         wreq = webrequest.create(url)         wres = wreq.getresponse          sreader = new streamreader(wres.getresponsestream)          rt = sreader.readtoend         sreader.close()     catch ex exception     end try       return rt end function  protected sub btnhtml_click(sender object, e eventargs) handles btnhtml.click     htmltxtbox.text = gethtml(urltxtbox.text) end sub  

there no such thing "encrypted" html. problem data table want scrape not on html served server, gets generated javascript after page load, making request url, , processing response.

if fire inspector , go network tab, can see these requests, , data received page javascript code, adds table.

snapshot of inspector


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -