承接 liesauer/ql-plugin-bingsearcher 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

liesauer/ql-plugin-bingsearcher

Composer 安装命令:

composer require liesauer/ql-plugin-bingsearcher

包简介

QueryList Plugin - BingSearcher

README 文档

README

BingSearcher

Installation

composer require liesauer/ql-plugin-bingsearcher

Bind

  • BingSearcher BingSearcher ()

BingSearcher

  • BingSearcher search(string $keyword) - 设置搜索关键字
  • BingSearcher setHttpOption(array $httpOpt = []) - 设置抓取时使用的http设置,详细参数请阅读Guzzle文档
  • array page(int $page) - 获取第$page页的内容
  • array pages(int $pages, int $base = 1) - 获取从$base开始总共$pages页的内容
  • int getCount() - 获取总共的结果数
  • int getPages() - 获取总共的页数(由总结果数计算而得,而实际上Bing似乎最多只能搜索100页)

每页只能固定10条

Usage

use liesauer\QLPlugin\BingSearcher;
use QL\QueryList;

require_once __DIR__ . '/vendor/autoload.php';

$ql = QueryList::getInstance();

// use this plugin
$ql->use(BingSearcher::class);

$bingSearcher = $ql->BingSearcher();

$result = $bingSearcher->search('QueryList')->pages(3);

var_dump($result);

/*
array(30) {
  [0]=>
  array(2) {
    ["title"]=>
    string(57) "QueryList|基于phpQuery的无比强大的PHP采集工具"
    ["link"]=>
    string(21) "https://querylist.cc/"
  }
  [1]=>
  array(2) {
    ["title"]=>
    string(35) "介绍 - QueryList 4.0 指导文档"
    ["link"]=>
    string(25) "https://doc.querylist.cc/"
  }
  [2]=>
  array(2) {
    ["title"]=>
    string(56) "Google - 谷歌搜索引擎 - QueryList 4.0 指导文档"
    ["link"]=>
    string(42) "https://doc.querylist.cc/site/index/doc/43"
  }
  [3]=>
  array(2) {
    ["title"]=>
    string(48) "GitHub - thomasw/querylist: Sick of for loop …"
    ["link"]=>
    string(36) "https://github.com/thomasw/querylist"
  }
  [4]=>
  array(2) {
    ["title"]=>
    string(70) "QueryList首页、文档和下载 - PHP采集工具 - 开源中国 …"
    ["link"]=>
    string(31) "https://oschina.net/p/querylist"
  }
  [5]=>
  array(2) {
    ["title"]=>
    string(33) "QueryList Element (Windows) - …"
    ["link"]=>
    string(79) "https://msdn.microsoft.com/en-us/library/windows/desktop/aa385678(v=vs.85).aspx"
  }
  [6]=>
  array(2) {
    ["title"]=>
    string(57) "PHP 用QueryList抓取网页内容 - wb145230 - 博客园"
    ["link"]=>
    string(46) "http://www.cnblogs.com/wb145230/p/4716403.html"
  }
  [7]=>
  array(2) {
    ["title"]=>
    string(31) "Understanding ViewChildren, …"
    ["link"]=>
    string(101) "https://netbasal.com/understanding-viewchildren-contentchildren-and-querylist-in-angular-896b0c689f6e"
  }
  [8]=>
  array(2) {
    ["title"]=>
    string(47) "QueryList - ts - API - Archived Angular v2 Docs"
    ["link"]=>
    string(72) "https://v2.angular.io/docs/ts/latest/api/core/index/QueryList-class.html"
  }
  [9]=>
  array(2) {
    ["title"]=>
    string(58) "QueryList3 正式发布! - QueryList交流社区|基 …"
    ["link"]=>
    string(36) "https://querylist.cc/article-15.html"
  }
  [10]=>
  array(2) {
    ["title"]=>
    string(70) "QueryList首页、文档和下载 - PHP采集工具 - 开源中国 …"
    ["link"]=>
    string(34) "http://www.oschina.net/p/querylist"
  }
  [11]=>
  array(2) {
    ["title"]=>
    string(47) "GitHub - jae-jae/QueryList: QueryList是基 …"
    ["link"]=>
    string(36) "https://github.com/jae-jae/QueryList"
  }
  [12]=>
  array(2) {
    ["title"]=>
    string(67) "QueryList 4.0 简洁、优雅、可扩展的PHP采集工具(爬 …"
    ["link"]=>
    string(39) "http://www.tuicool.com/articles/6n6nqii"
  }
  [13]=>
  array(2) {
    ["title"]=>
    string(56) "QueryList 4.0 简洁、优雅的 PHP 采集工具 - V2EX"
    ["link"]=>
    string(29) "https://www.v2ex.com/t/394689"
  }
  [14]=>
  array(2) {
    ["title"]=>
    string(71) "QueryList学习二十三:专题—对于更复杂的http网络操 …"
    ["link"]=>
    string(36) "https://www.thinkswn.com/article/143"
  }
  [15]=>
  array(2) {
    ["title"]=>
    string(70) "PHP 使用 QueryList 轻松实现一个百度网盘资源搜索引 …"
    ["link"]=>
    string(29) "https://www.v2ex.com/t/395748"
  }
  [16]=>
  array(2) {
    ["title"]=>
    string(42) "QueryList · angular学习笔记 · 看云"
    ["link"]=>
    string(56) "https://www.kancloud.cn/wujie520303/angular2_note/262962"
  }
  [17]=>
  array(2) {
    ["title"]=>
    string(54) "智能矩阵超级学习系统 | Super learning System"
    ["link"]=>
    string(41) "http://s.wanxue.cn/sls/category/queryList"
  }
  [18]=>
  array(2) {
    ["title"]=>
    string(33) "QueryList Element (Windows) - …"
    ["link"]=>
    string(79) "https://msdn.microsoft.com/en-us/library/windows/desktop/aa385678(v=vs.85).aspx"
  }
  [19]=>
  array(2) {
    ["title"]=>
    string(56) "querylist - 文库下载 1亿免费文档搜索与下载"
    ["link"]=>
    string(60) "http://www.wenkuxiazai.com/doc/4c3d3ac516fc700abb68fcca.html"
  }
  [20]=>
  array(2) {
    ["title"]=>
    string(54) "智能矩阵超级学习系统 | Super learning System"
    ["link"]=>
    string(41) "http://s.wanxue.cn/sls/category/queryList"
  }
  [21]=>
  array(2) {
    ["title"]=>
    string(71) "PHP使用QueryList轻松实现一个百度网盘资源搜索引擎  …"
    ["link"]=>
    string(49) "http://www.voidcn.com/article/p-xgojkxyz-boa.html"
  }
  [22]=>
  array(2) {
    ["title"]=>
    string(70) "QueryList 4.0 简洁、优雅、可扩展的PHP采... 来自稀土 …"
    ["link"]=>
    string(41) "http://www.weibo.com/5383066644/Fp8UU6dAx"
  }
  [23]=>
  array(2) {
    ["title"]=>
    string(53) "用querylist实现页面爬虫_PHP教程_第七城市"
    ["link"]=>
    string(50) "http://www.th7.cn/Program/php/201708/1237963.shtml"
  }
  [24]=>
  array(2) {
    ["title"]=>
    string(64) "DImage 图片下载扩展 | QueryList采集器开发手册 | …"
    ["link"]=>
    string(37) "http://www.php.cn/php/php-DImage.html"
  }
  [25]=>
  array(2) {
    ["title"]=>
    string(48) "GitHub - jae-jae/QueryList: Simple, elegant, …"
    ["link"]=>
    string(36) "https://github.com/jae-jae/QueryList"
  }
  [26]=>
  array(2) {
    ["title"]=>
    string(68) "QueryList 4.0 发布,简洁、优雅的PHP采集工具_太原达 …"
    ["link"]=>
    string(38) "http://ty.php.tedu.cn/news/261718.html"
  }
  [27]=>
  array(2) {
    ["title"]=>
    string(71) "QueryList学习二十三:专题—对于更复杂的http网络操 …"
    ["link"]=>
    string(36) "https://www.thinkswn.com/article/143"
  }
  [28]=>
  array(2) {
    ["title"]=>
    string(12) "Angular Docs"
    ["link"]=>
    string(37) "https://angular.io/api/core/QueryList"
  }
  [29]=>
  array(2) {
    ["title"]=>
    string(69) "关于hibernate querylist无法返回查询结果 高手解救一 …"
    ["link"]=>
    string(40) "http://www.codes51.com/itwd/2945668.html"
  }
}

liesauer/ql-plugin-bingsearcher 适用场景与选型建议

liesauer/ql-plugin-bingsearcher 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 212 次下载、GitHub Stars 达 1, 最近一次更新时间为 2017 年 10 月 12 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 liesauer/ql-plugin-bingsearcher 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 liesauer/ql-plugin-bingsearcher 我们能提供哪些服务?
定制开发 / 二次开发

基于 liesauer/ql-plugin-bingsearcher 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 212
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-12