Get html that is generated via AJAX in C# webclient
Posted
by WebDevHobo
on Stack Overflow
See other posts from Stack Overflow
or by WebDevHobo
Published on 2010-06-01T14:55:59Z
Indexed on
2010/06/01
18:23 UTC
Read the original article
Hit count: 165
I often go to a site to look stuff up. I thought to myself: "Hold on. I can program. Why am I going to this site manually when I can write a piece of software that does it for me?".
And so I started. I'm using C#, so I found WebClient and Uri.
I've managed to get the source code for the site, yet the problem occurred that the specific data I'm looking for is generated via AJAX, after the source code has loaded.
So that's my problem. How can I get that code, if it needs to be requested via an AJAX call first?
© Stack Overflow or respective owner