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.
我有一个 HTML 文档,我想提取视频文件的每个 URL。最好的方法是什么,因为有不同的 HTML 版本和将视频文件嵌入 HTML 文档的不同可能性。为此,我将使用 Html Agility Pack (c#)。
您应该使用正则表达式解析 html 以获取视频 URL。