Home > Backend Development > PHP Tutorial > 怎么实现抓取信息

怎么实现抓取信息

WBOY
Release: 2016-06-13 12:55:03
Original
839 people have browsed it

如何实现抓取信息

本帖最后由 kufei88 于 2013-01-12 20:10:34 编辑

我要如何得到这些高校的全部信息

------解决方案--------------------
请用好基友 firebug 找出 地址.估计返回一个json之类的...
------解决方案--------------------
打开google,按F12,切换到Network,然后再点击什么XXX(就是弹出选择学校那个),看Network那里发送的网络请求,把地址复制一下,如果是get请求,用file_get_contents,如果是POST请求,用curl。
------解决方案--------------------
可以借组chrome开发者工具,看看发起了哪些请求,然后看看这些请求返回了什么就知道了
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template