1 Star 0 Fork 0

iamcer / PageDataList

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

PageDataList

项目介绍

给予QueryList的分页爬虫

安装教程

composer require iamcer/page-data-list

使用说明

  $obj = new PageDataList('https://www.baidu.com/', [
            'pn' => '1',
            'link' => 'https://www.baidu.com/s?wd='.$keyword
        ], [

            'pn' => ['#page>a:not(".n") .pc', 'text', '', function ($content) {
                return $content;
            }],
            'link' => ['#page>a:not(".n")', 'href', '', function ($content) {

                return $content;
            }],
        ]);

Comments ( 0 )

Sign in for post a comment

About

给予QueryList的分页爬虫 spread retract
Cancel

Releases (1)

All

Contributors

All

Activities

load more
can not load any more
PHP
1
https://gitee.com/hjsiamcer/PageDataList.git
git@gitee.com:hjsiamcer/PageDataList.git
hjsiamcer
PageDataList
PageDataList
master

Search