阅读网页的源代码 [英] Reading the source for a web page

查看:64
本文介绍了阅读网页的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个应用程序,该应用程序将打开一个网页并读取该页面的源代码,以便可以从该页面中提取一些数据.

您能否指出一些参考资料,以帮助我入门?

谢谢.

I need to create an app that will open a web page and read in the source for that page so I can extract some data from the page.

Can you point me to some refernce material that might help me get started?

Thank you.

推荐答案

网络抓取 [^ ]


正如Chris所说,这称为 Web抓取.

请查看我过去的答案,以快速描述涉及的技术:
从网页中获取特定数据 [如何从另一个站点获取数据 [ ^ ].

—SA
As Chris says, this is called Web scraping.

Please see my past answers where I quickly describe what techniques are involved:
get specific data from web page[^],
How to get the data from another site[^].

—SA


这篇关于阅读网页的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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