Download the PHP package hanxiaoqingcheng/querylist without Composer

On this page you can find all versions of the php package hanxiaoqingcheng/querylist. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package querylist

QueryList简介


QueryList是一个基于phpQuery的通用列表采集类,是一个简单、 灵活、强大的采集工具,采集任何复杂的页面 基本上就一句话就能搞定了。

QueryList 安装

通过composer安装:

更多安装方法:QueryList多种安装方式

QueryList 使用

下面演示QueryList用一句代码采集百度搜索结果:

上面的代码实现的功能是采集百度搜索结果页面的所有搜索结果的标题链接,然后分别以二维关联数组的格式输出。

采集结果:

Query() 静态方法

返回值:QueryList对象

Query方法为QueryList唯一的主方法,用静态的方式调用。

原型:

QueryList::Query($page,array $rules, $range = '', $outputEncoding = null, $inputEncoding = null,$removeHead = false)

中文解释:

参数解释:

查看文档:http://doc.querylist.cc/site/index/doc/11

QueryList 扩展

Request 网络操作扩展

可以实现如携带cookie、伪造来路等任意复杂的网络请求,再也不用担心QueryList内置的抓取功能太弱了。

Login 模拟登陆扩展

可以实现模拟登陆然后采集。

Multi 多线程插件

多线程(多进程)采集扩展。

DImage图片下载扩展

可实现简单的图片下载需求。

扩展安装以及使用教程:QueryList扩展文档,获取更多扩展可以关注QueryList社区和交流群。

其它说明

1.QueryList内置的只是简单的源码抓取方法,遇到更复杂的抓取情况,如:需要登陆 身份验证 时,请配合其它的PHP的HTTP工具(推荐使用Guzzle)来使用,通过将辅助的HTTP类抓取到的网页源码传给QueryList即可。

2.采集程序请在PHP命令行模式(PHP CLI)下运行。

3.QueryList依赖phpQuery,phpQuery项目主页:phpQuery文档

寻求帮助?

Author

Jaeger [email protected]

Lisence

QueryList is licensed under the license of MIT. See the LICENSE for more details.


All versions of querylist with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
hanxiaoqingcheng/phpquery-single Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hanxiaoqingcheng/querylist contains the following files

Loading the files please wait ....