Home > Backend Development > PHP Tutorial > 关于php的snoopy类爬取死链接的文本有关问题

关于php的snoopy类爬取死链接的文本有关问题

WBOY
Release: 2016-06-13 13:11:03
Original
831 people have browsed it

关于php的snoopy类爬取死链接的文本问题
当snoopy爬取到死链接后会结束程序,我想做一个爬虫,但是爬取到一个打不开的链接后就会失败,在spoony类文件中限定了30秒链接不上就失败。。请问怎么样做可以使爬到死链接后跳到下一条链接。。。。求指点。新手,急求啊

------解决方案--------------------
应该不会把,把你的php超时给设置成0.

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