如何解析htm? [英] how to parse the htm ?

查看:144
本文介绍了如何解析htm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解析html页面并返回flv的url。

howto parse the html page and return the url of the flv.

推荐答案

看看我的提示以编程方式将HTML页面内容添加到ASPX页面 [ ^ ]。



下载并查看它是如何工作的。根据您的要求修改代码。
Take a look at my Tip Add HTML Page Contents to ASPX Page Programmatically[^].

Download and see how it is working. Modify the code as per your your requirements.


如果您的HTML是格式良好的XML,您可以轻松地解析它。不幸的是,情况并非总是这样。

你可以试试,例如,Majestic-12: http://www.majestic12.co.uk/projects/html_parser.php [ ^ ]。



-SA
If your HTML is well-formed XML, you can easily parse it. Unfortunately, this is not always the case.
You can try, for example, Majestic-12: http://www.majestic12.co.uk/projects/html_parser.php[^].

—SA


这篇关于如何解析htm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆