Is it possible to scrape data generated by dynamic web page? I mean for example This website generates the tag <font>
with some java script which is
document.write("<font class=spy2>:<\/font>"+(v2j0j0^o5r8)+(r8d4x4^y5i9)+(b2r8e5^u1p6)+(r8d4x4^y5i9))
The values change on each page refresh. Each generated code represents a number from 0 to 9, for example (code1)+(code2)+(code3)+(code4)
and at the back end some type of parser is written which understands it and generates the numbers accordingly.
Once the page is rendered and for example code1
was set some where for digit 4 the where ever the digit 4 is generated it comes from this code after getting parsed.
If we use HtmlAgilityPack
we see that java script code but not its generated output. Is there any way we can read the tag it creates when the page is rendered?
Thanks for pointing out.I saw that by implementing .same results but then looking at one more comment who says use IE engine i turned and made a small application that does the job.I added IE and navigated it to the website and read the content.Here is the code
and for checking that received text is valid proxy here is what i did got it from some page long ago by googling
I think you're obliged to use somehow IE engine.