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.
精彩评论