C# asp.net Using WebClient, is there a way to get a web page's rendered Html? -
is there way rendered html of web page using webclient instead of page source? i'm trying scrape data page's html. current code this:
webclient client = new webclient(); var result = client.downloadstring("https://somepageoutthere.com/"); //using csquery cq dom = result; var someelementhtml = dom["body > main];
webclient return url requested. not run javacript on page (which runs on client) if javascript changing page dom in way, not through webclient.
you better off using other tools. render html , javascript in page.
Comments
Post a Comment