Skip to main content

Search predictions in mainland China

Project description

cnsp

Build Status Python Version GitHub pre-release PyPI Wheel License

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 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


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)

Uploaded Source

Built Distribution

cnsp-0.0.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page