Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (34 loc) · 2.29 KB

README.zh_Hant_HK.md

File metadata and controls

39 lines (34 loc) · 2.29 KB

cnsp

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

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

中國大陸的預測查詢字串

安裝

pip install cnsp

用法

>>> 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', '百度翻译在线翻译', '百度贴吧', '百度网盘破解版开发者', '百度推荐为什么关不了']
>>>

更多搜尋引擎,見 §支持的搜尋引擎

支持的搜尋引擎

函數 搜尋引擎 URL 預測查詢字串域名
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