Snoopy中文手册
Snoopy是什么?Snoopy是一个php类,用来仿照web浏览器的功能,它能实现获取页面内容和发送表单的命令。Snoopy的一些特色:方便抓取页面的内容
方便抓取页面的文本内容(去除HTML标签)
方便抓取页面的连接
支持基本的用户名/密码验证
支持设置user_agent,referer(来路),cookies和headercontent(头文件)
支持浏览器转向,并能控制转向深度
能把页面中的连接扩展成高质量的url(默许)
方便提交数据而且获取返回值
支持跟踪HTML结构(v0.92添加)
支持再转向的时候传递cookies(v0.92添加)
(What is Snoopy? Snoopy is a php class that mimics the functionality of a web browser, which implements commands to get page content and send forms. Some features of Snoopy:
Easy to grab the content of the page
Easy to grab the text content of the page (remove HTML tags)
Links for easy crawling of pages
Supports basic username/password authentication
Support setting user_agent, referer (return), cookies and headercontent (header file)
Supports browser steering and can control steering depth
Can expand links in pages to high-quality urls (default)
It is convenient to submit data and get the return value
Support for tracking HTML structure (added in v0.92)
Support passing cookies when redirecting (added in v0.92))
页:
[1]