Home > Backend Development > PHP Tutorial > 怎么采集http://www.haha.mx/的首页

怎么采集http://www.haha.mx/的首页

WBOY
Release: 2016-06-13 10:31:54
Original
1573 people have browsed it

如何采集http://www.haha.mx/的首页
我想采集haha.mx首页的内容,可是不管用file_get_contents,curl,都获取不到,但是用tool.chinaz.com的获取源代码却可以得到数据。

我想应该是haha.mx设制了防采集吧,有没有高手可以帮我写一段代码采集到的?

谢谢!!!

------解决方案--------------------
应该是做了防采集的

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