开发者

HTML only WebBrowser in C#?

Any way to tell a WebBrowser in C# to show the pages in HTML only? I'm trying to make a web scraper and I don't need pictures that make the process way slower than necessary.开发者_运维知识库


Why are you using a WebBrowser control for page scraping? If you just want the core html of a page, then just do a WebRequest and get the response.


you're going to have to roll your own basically.

One way would be to build your application in WPF and use a HTML->XAML conversion process and just leave off the tag from being converted.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜