PHP采集器querylist
Posted @Kerry~
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP采集器querylist相关的知识,希望对你有一定的参考价值。
官方文档链接
注意事项
如果composer安装 建议切换一下镜像地址,因为阿里云镜像会提示 输入账号和密码的诡异操作
E:\\phpstudy_pro\\WWW\\tp5.1>composer require jaeger/querylist PHP Warning: Module 'redis' already loaded in Unknown on line 0 Authentication required (mirrors.aliyun.com): Username: ^C终止批处理操作吗(Y/N)? y 把镜像切换成为 composer中国全量镜像 => composer中国全量镜像 composer config -g repo.packagist composer https://packagist.phpcomposer.com 下载速度是比较慢,但是没有办法哈 下载完成以后,更换回来 阿里云镜像地址就可以了。 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ E:\\phpstudy_pro\\WWW\\tp5.1>composer config -g repo.packagist composer https://packagist.phpcomposer.com PHP Warning: Module 'redis' already loaded in Unknown on line 0 E:\\phpstudy_pro\\WWW\\tp5.1>composer require jaeger/querylist PHP Warning: Module 'redis' already loaded in Unknown on line 0 Using version ^4.2 for jaeger/querylist ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 15 installs, 0 updates, 0 removals - Installing symfony/var-dumper (v5.3.6): Downloading (100%) - Installing tightenco/collect (v8.34.0): Downloading (100%) - Installing ralouphie/getallheaders (3.0.3): Downloading (100%) - Installing guzzlehttp/psr7 (2.0.0): Downloading (100%) - Installing guzzlehttp/promises (1.4.1): Downloading (100%) - Installing guzzlehttp/guzzle (7.3.0): Downloading (100%) - Installing psr/cache (1.0.1): Downloading (100%) - Installing league/mime-type-detection (1.7.0): Downloading (100%) - Installing league/flysystem (1.1.5): Downloading (100%) - Installing cache/tag-interop (1.0.1): Downloading (100%) - Installing cache/adapter-common (1.2.0): Downloading (100%) - Installing cache/filesystem-adapter (1.1.0): Downloading (100%) - Installing jaeger/g-http (V1.7.2): Downloading (100%) - Installing jaeger/phpquery-single (1.0.1): Downloading (100%) - Installing jaeger/querylist (V4.2.8): Downloading (100%)
具体使用方式查看官方文档操作即可
以上是关于PHP采集器querylist的主要内容,如果未能解决你的问题,请参考以下文章
PHP简单爬虫 基于QueryList采集库 和 ezsql数据库操作类