Metadata-Version: 2.1
Name: search-engine-tool-vito1317
Version: 0.3.0
Summary: 搜索引擎API Bing / Google / Yahoo 
Home-page: https://github.com/vito1317/search-engine-tool-vito
Author: vito
Author-email: vito95311@gmail.com
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: selenium

# 項目說明
https://github.com/vito1317/search-engine-tool-vito

項目的 Python 版本。原项目使用 Node + Puppeteer，Python 版本使用 Selenium。

## 安裝
```bash
pip install search-engine-tool-vito
```
#使用 
```python 
from search_engine_tool import bing def test_bing(): try: data = bing.search("台灣天氣") for d in data: print(d) except Exception as e: print(e) if __name__ == '__main__': test_bing() 
```
#返回格式 
```python 
[ { "abstract": "Web目前天氣. PM2:04. 84° F. RealFeel® 93°. RealFeel Shade™ 89°. 空氣品質 不佳. 風 西南偏西 6英里/小时. 風速 6英里/小时. 陰 更多詳情.", "href": "https://www.accuweather.com/zh/cn/shenzhen/58194/weather-forecast/58194", "title": "台灣, 台北市, 台灣 三日天氣預報 | AccuWeather" }, ... ]
``` 
#支持搜尋引擎 
```
Bing Google (需要调用方自身能够访问) Yahoo 
```
 #Todo 
 ``` 
 1 处理人机验证 2 支持翻页参数 3 支持 Badiu / Sogou / so.cn 国内搜索网站 4 百度百科 5 wikipedia 支持
```
 # search-engine-tool-vito
