Search Chinese content platforms (WeChat, 36kr, XHS, Zhihu) via Chrome DevTools Protocol
Project description
qianli (千里)
Search Chinese content platforms from the terminal via Chrome DevTools Protocol.
Sources
| Source | Auth | Status |
|---|---|---|
| WeChat 公众号 (via Sogou) | No | Stable |
| 36kr (36氪) | No | Stable (slow SPA) |
| XHS (小红书) | CDP login | Fragile (anti-bot) |
Prerequisites
- Chrome running with
--remote-debugging-port=9222 - Python 3.11+
- XHS requires one-time QR login in the CDP Chrome profile
Install
pip install qianli
Usage
# Search individual sources
qianli wechat "AI 银行"
qianli 36kr "大模型 金融"
qianli xhs "AI banking"
# Search all sources
qianli all "AI banking"
# Read full page content
qianli read https://mp.weixin.qq.com/s/...
# JSON output
qianli wechat "AI" --json
# Limit results
qianli wechat "AI" --limit 3
Output
[wechat] 香港金管局GenAI沙盒首批成果发布
机器之心 · 2025-11-15
https://mp.weixin.qq.com/s/xxx
[36kr] AI驱动的银行数字化转型
36氪 · 2025-12-03
https://36kr.com/p/123456
License
MIT
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
qianli-0.2.0.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qianli-0.2.0.tar.gz.
File metadata
- Download URL: qianli-0.2.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d45f3b2ef3f2c7b656b5f3fa2d9406e94e033188b973f354491a96c40eeb7a
|
|
| MD5 |
32063c231a9033eb7429c9d5ab30d2bb
|
|
| BLAKE2b-256 |
fac483d74748c33035a70f9c3ca859730a9981546016875aff320d7d98a6197d
|
File details
Details for the file qianli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: qianli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2963971f654837aaae14f0c131c365b4c11d5eb2ddcf36a24b3abb83cbb1b04f
|
|
| MD5 |
d93e525fd41db819200513ceb70935bc
|
|
| BLAKE2b-256 |
f2efa4005d50f1846802595417a0f93d38ee0e211bec7a94a9f8d463b6581894
|