Search predictions in mainland China
Project description
cnsp
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 URL |
---|---|---|---|
baidu |
百度一下,你就知道 | www.baidu.com | https://www.baidu.com/sugrec |
sm |
神马搜索 | m.sm.cn | https://sugs.m.sm.cn/web |
sogou |
搜狗搜索引擎 - 上网从搜狗开始 | www.sogou.com | https://www.sogou.com/suggnew/ajajjson |
so |
360搜索,SO靠谱 | www.so.com | https://sug.so.360.cn/suggest |
google |
www.google.cn | https://www.google.cn/complete/search |
|
yam |
yam蕃薯藤-搜尋 | search.yam.com | https://search.yam.com/Search/Mobile/GetRelatedKeywords.aspx |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cnsp-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
cnsp-0.0.2-py3-none-any.whl
(3.6 kB
view hashes)