开发者

Get HTTP for a site which also has Javascript on it in C#

开发者 https://www.devze.com 2023-04-03 05:36 出处:网络
I need to get the HTML of a website which is heavy on Javascript. When I try to do I get a receive code, but it is filled with Javascript.

I need to get the HTML of a website which is heavy on Javascript. When I try to do I get a receive code, but it is filled with Javascript.

Can I execute that JS开发者_StackOverflow中文版 after downloading and get the resulting HTML out of it?


The most straight forward way to do this would be to embed a WebBrowser control into a windows form and then use the DOM

C# WebBrowser control -- Get Document Elements After AJAX?

0

精彩评论

暂无评论...
验证码 换一张
取 消