I am trying to parse one page from YouTube ... Which actually does not contain syntax errors. The Html Agility Pack screams about these errors and returns nothing as a result.
http://codepaste.net/gh3hco
I have not tried this, but based on the suggestion in their forum, you can use Tidy HTML or Tidy.NET to clear the HTML first. If you wish, you can find the erroneous tags and remove them at the stage of the preliminary process.
Source: https://habr.com/ru/post/1758661/More articles:How an abstract (full-featured) long polling server works abstractly - httpWhat should be done in CodeIgniter models? - coding-styleКак создать пользовательский элемент управления Android и использовать его в Xml? - androidИгнорировать ошибки анализа HTMLAgilityPack? - c#What is a good jQuery / Ajax lightbox plugin? - jqueryHow to get around performance issues with Buffer.put () and Android OpenGL - performanceWhat is the difference if the head tag is runat or not? - c #How can I separate this C # workflow from the main thread for shared variable data? - multithreadingЗнает ли кто-нибудь хорошие ресурсы для параллельного программирования шаблонов/тестирования с использованием задач .NET 4.0? - multithreading.NET Framework - Any way to get the dictionary <> a little faster? - performanceAll Articles