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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -