cnsp

Search predictions in mainland China


Keywords
api-client, mainland-china, prediction, python, python-3, python3, search
License
MIT
Install
pip install cnsp==0.0.3

Documentation

cnsp

Python package Upload Python Package Build Status Python Version GitHub pre-release PyPI Wheel License

🎌 🇺🇸English | 🇨🇳大陆简体 | 🇭🇰香港繁體 | 🇹🇼臺灣正體

Search predictions in mainland China

Installation

pip install cnsp

Usage

>>> from cnsp import google, baidu
>>> google('Google')
['google', 'google play', 'google翻译', 'google translate', 'google scholar', 'google map', 'google drive', 'google earth', 'google voice', 'google play下载']
>>> baidu('baidu')
['百度翻译', '百度', '百度识图', '百度地图', '百度网盘', 'baidu.com', '百度翻译在线翻译', '百度贴吧', '百度网盘破解版开发者', '百度推荐为什么关不了']
>>>

For more search engines, see §Supported search engines.

Supported search engines

Function Search engine URL API domain
baidu 百度一下,你就知道 https://www.baidu.com www.baidu.com
sm 神马搜索 https://m.sm.cn sugs.m.sm.cn
sogou 搜狗搜索引擎 - 上网从搜狗开始 https://www.sogou.com www.sogou.com
so 360搜索,SO靠谱 https://www.so.com sug.so.360.cn
google Google https://www.google.com.hk www.google.cn
yam yam蕃薯藤-搜尋 https://search.yam.com search.yam.com