Search Chinese content platforms (WeChat, 36kr, XHS) 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.1.1.tar.gz
(5.9 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.1.1.tar.gz.
File metadata
- Download URL: qianli-0.1.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c441cfab84fd987ce239b495f6a7c55cd7b936b139491935cd0f59b0eeafc7d
|
|
| MD5 |
b4fb71307d1d300ad36d50652a5ab4d6
|
|
| BLAKE2b-256 |
19c98ac7286634e457df29575c65f9c863fb3b3222d2816be268bf917a13b09d
|
File details
Details for the file qianli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: qianli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f12b186cdc7ca62c57cf727ad54ee0fffe59445350b8dbfdcb7ac6008100c959
|
|
| MD5 |
7c20e297ca00c5df20bc6edbb612ac6d
|
|
| BLAKE2b-256 |
e99a6ea99d80a920a4a56779a124c889fa09a07a11e24dd19bc8347047fa1776
|