astro/searchengine
Composer 安装命令:
composer require astro/searchengine
包简介
Google search crawler
README 文档
README
Crawls google.com and google.ae
Installation
Use composer composer to install searchengine.
composer require astro/searchengine
Usage
Create a new test PHP file
<?php namespace Astro; require_once './vendor/autoload.php'; #create new instance $client = new SearchEngine(); #set search engine (google.com or google.ae) $client->setEngine("google.ae"); #enter search keywords $results = $client->search(["amazon","tuna"]); #print the results print_r($results); ?>
Run your php file.
php test.php
License
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-12