PHPackages                             zyan/querylist-rule-baiduzhidao - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zyan/querylist-rule-baiduzhidao

ActiveLibrary[API Development](/categories/api)

zyan/querylist-rule-baiduzhidao
===============================

QueryList Plugin: baiduzhidao searcher. QueryList百度知道搜索插件

1.1.0(3y ago)023MITPHPPHP &gt;=7.0

Since Oct 27Pushed 3y agoCompare

[ Source](https://github.com/aa24615/querylist-rule-baiduzhidao)[ Packagist](https://packagist.org/packages/zyan/querylist-rule-baiduzhidao)[ RSS](/packages/zyan-querylist-rule-baiduzhidao/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

zyan/querylist-rule-baiduzhidao
===============================

[](#zyanquerylist-rule-baiduzhidao)

querylist插件 - 百度知道爬虫规则

本分支来源于

要求
--

[](#要求)

1. php &gt;= 7.0
2. Composer ^2.0
3. QueryList ^4.0

安装
--

[](#安装)

```
composer require zyan/querylist-rule-baiduzhidao -vvv
```

使用
--

[](#使用)

```
use QL\Ext\Baiduzhidao;
use QL\QueryList;

$ql = QueryList::getInstance();
$ql->use(Baiduzhidao::class);

//列表页
$list =  $ql->baiduzhidao()->search('php官网是什么')->getList(1);

print_r($list);

Array
(
    [0] => Array
        (
            [title] => php.cn是不是php中国的官方网站
            [link] => http://zhidao.baidu.com/question/2075148895278992948.html?fr=iks&word=php%B9%D9%CD%F8%CA%C7%B6%E0%C9%D9&ie=gbk
            [best_answer] => 答：不是的，官方中文版的地址是http://cn2.php.net/
        )

    [1] => Array
        (
            [title] => PHP官网的
            [link] => http://zhidao.baidu.com/question/2010737170671608028.html?fr=iks&word=php%B9%D9%CD%F8%CA%C7%B6%E0%C9%D9&ie=gbk
            [best_answer] => 答：php新版是5.5的 你要升级的话， http://www.php.net window系统的话， 去这里下载http://windows.php.net
        )
    ...
)

//内容页(答案)
$body =  $ql->baiduzhidao()->getBody('http://zhidao.baidu.com/question/562434686892368412.html');

print_r($list);

Array
(
    [0] => 120w,小米12 Pro支持120W 小米澎湃秒充功能，我们对它的快充功能进行了测试。30分快充测试数据经过实测得知，从1%电量开始使用原装120W 小米澎湃秒充套装将小米12 Pro充满需要22分钟左右。值得一提的是，本次小米12 Pro随配的120W充电器采用了USB-A接口，充电线为USB-A to USB-C数据线，与市面上常见的USB-C to USB-C数据线并不通用，这就意味着用户需要使用原装120W快充套装才能实现最快的充电速度。
    [1] => 12Pro标配充电器则可满血输出最高120W功率。支持120W有线快充,50W无线快充,10W无线反向充电。
)
```

参与贡献
----

[](#参与贡献)

1. fork 当前库到你的名下
2. 在你的本地修改完成审阅过后提交到你的仓库
3. 提交 PR 并描述你的修改，等待合并

License
-------

[](#license)

[MIT license](https://opensource.org/licenses/MIT)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fbcdf7ec634eb735375fa4f6046f91646934f9eb07456f4b4dcbdec545c6435b?d=identicon)[aa24615](/maintainers/aa24615)

---

Top Contributors

[![aa24615](https://avatars.githubusercontent.com/u/33275679?v=4)](https://github.com/aa24615 "aa24615 (5 commits)")[![wqsacy](https://avatars.githubusercontent.com/u/38206909?v=4)](https://github.com/wqsacy "wqsacy (3 commits)")

### Embed Badge

![Health badge](/badges/zyan-querylist-rule-baiduzhidao/health.svg)

```
[![Health](https://phpackages.com/badges/zyan-querylist-rule-baiduzhidao/health.svg)](https://phpackages.com/packages/zyan-querylist-rule-baiduzhidao)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
