Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 YouTube 解析出一个页面......这并不是真正没有语法错误。Html Agility Pack 对这些错误大喊大叫,并且没有返回任何结果。
http://codepaste.net/gh3hco
我没有尝试过,但根据他们论坛中的建议,您可以先使用 HTML Tidy 或Tidy.NET来清理 HTML。或者,您可以找到错误的标签并在预处理步骤中删除它们。