文件名称:snoopy
介绍说明--下载内容均来自于网络,请自行研究使用
Snoopy是一个php类,用来模拟浏览器的功能,可以获取网页内容,发送表单。
Snoopy的特点:
1、抓取网页的内容 fetch
2、抓取网页的文本内容 (去除HTML标签) fetchtext
3、抓取网页的链接,表单 fetchlinks fetchform
4、支持代理主机
5、支持基本的用户名/密码验证
6、支持设置 user_agent, referer(来路), cookies 和 header content(头文件)
7、支持浏览器重定向,并能控制重定向深度
8、能把网页中的链接扩展成高质量的url(默认)
9、提交数据并且获取返回值
10、支持跟踪HTML框架
11、支持重定向的时候传递cookies
要求php4以上就可以了,由于本身是php一个类,无需扩支持,服务器不支持curl时候的最好选择。-Snoopy is a php class used to simulate the function of a browser, you can access web content, send the form. Snoopy features: 1, crawling web content fetch 2, crawls the web text content (remove HTML tags) fetchtext 3, crawled pages links, form fetchlinks fetchform 4, supports proxy hosts 5, support for basic username/Password Authentication 6, supports setting user_agent, referer (antecedents), cookies and header content (header files) 7, support for browser redirects, and can control the depth of eight redirection, can link to a web page url extended into high-quality (Default) 9, to submit data and retrieve the return value of 10, support tracking HTML fr a me 11 when the transfer cookies to support redirection requires php4 above can, because itself is a php class, without expanding support when server does not support curl the best choice.
Snoopy的特点:
1、抓取网页的内容 fetch
2、抓取网页的文本内容 (去除HTML标签) fetchtext
3、抓取网页的链接,表单 fetchlinks fetchform
4、支持代理主机
5、支持基本的用户名/密码验证
6、支持设置 user_agent, referer(来路), cookies 和 header content(头文件)
7、支持浏览器重定向,并能控制重定向深度
8、能把网页中的链接扩展成高质量的url(默认)
9、提交数据并且获取返回值
10、支持跟踪HTML框架
11、支持重定向的时候传递cookies
要求php4以上就可以了,由于本身是php一个类,无需扩支持,服务器不支持curl时候的最好选择。-Snoopy is a php class used to simulate the function of a browser, you can access web content, send the form. Snoopy features: 1, crawling web content fetch 2, crawls the web text content (remove HTML tags) fetchtext 3, crawled pages links, form fetchlinks fetchform 4, supports proxy hosts 5, support for basic username/Password Authentication 6, supports setting user_agent, referer (antecedents), cookies and header content (header files) 7, support for browser redirects, and can control the depth of eight redirection, can link to a web page url extended into high-quality (Default) 9, to submit data and retrieve the return value of 10, support tracking HTML fr a me 11 when the transfer cookies to support redirection requires php4 above can, because itself is a php class, without expanding support when server does not support curl the best choice.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Snoopy.class.php
test.php