-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HtmlWeb.Load not work correct #454
Comments
Hello @Risbot , Thank you for reporting, we will look to add an option for the decompression. We quickly tested it with your page and it worked. Best Regards, Jon Sponsorship Performance Libraries Runtime Evaluation |
Hello @Risbot , The v1.11.38 has been released. We added the option You can use this option this way: var html = @"https://www.seznam.cz/";
HtmlWeb web = new HtmlWeb();
web.AutomaticDecompression = DecompressionMethods.GZip;
var htmlDoc = web.Load(html);
var t = htmlDoc.DocumentNode.InnerHtml; Let me know if everything is now working for your scenario. Best Regards, Jon |
Hello @JonathanMagnan thank you for your great work. Now it work good. |
Awesome @Risbot ! Don't hesitate to contact us with any questions, issues, or assistance! Bets Regards, Jon |
Here is what to include in your request to make sure we implement a solution as quickly as possible.
1. Description
I can not parse web https://www.seznam.cz using HtmlWeb I see unreadable html content, because I get compresed content. In header of the response I see this:
TransferEncoding: {chunked}
TransferEncodingChunked: true
2. Fiddle or Project
https://dotnetfiddle.net/UpHU4w
The text was updated successfully, but these errors were encountered: