Download the PHP package wangqs/querylist-rule-baidu-news without Composer
On this page you can find all versions of the php package wangqs/querylist-rule-baidu-news. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wangqs/querylist-rule-baidu-news
More information about wangqs/querylist-rule-baidu-news
Files in wangqs/querylist-rule-baidu-news
Download wangqs/querylist-rule-baidu-news
More information about wangqs/querylist-rule-baidu-news
Files in wangqs/querylist-rule-baidu-news
Vendor wangqs
Package querylist-rule-baidu-news
Short Description QueryList Plugin: Baidu News searcher. QueryList百度资讯频道搜索插件
License MIT
Package querylist-rule-baidu-news
Short Description QueryList Plugin: Baidu News searcher. QueryList百度资讯频道搜索插件
License MIT
Please rate this library. Is it a good library?
Informations about the package querylist-rule-baidu-news
QueryList-Rule-Baidu
QueryList Plugin: Baidu News searcher.
QueryList插件:百度搜索引擎
QueryList:https://github.com/jae-jae/QueryList
Installation for QueryList4
API
- BaiduNews baidu($pageNumber = 10):get BaiduNews Searcher.
class BaiduNews:
- BaiduNews search($keyword):set search keyword.
- BaiduNews setHttpOpt(array $httpOpt = []):Set the http option,see: GuzzleHttp options
- int getCount():Get the total number of search results.
- int getCountPage():Get the total number of pages.
- Collection page($page = 1,$realURL = false):Get search results
Usage
-
Installation Plugin
-
Example-1
-
Example-2
- Example-3
$baiduNews = $ql->baiduNews(3)
$searcher = $baiduNews->search('QueryList');
$data = $searcher->page(1);
print_r($data->all());
// Get real url
$data = $searcher->page(1,true);
print_r($data->all());
All versions of querylist-rule-baidu-news with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package wangqs/querylist-rule-baidu-news contains the following files
Loading the files please wait ....