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.0.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.0.tar.gz.
File metadata
- Download URL: qianli-0.1.0.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 |
6b32b600611785cdb75a2760f109832ff4b51176fd8f49cfbbb86b71d0869f5d
|
|
| MD5 |
69b15fc755413a3752b5262391267bfb
|
|
| BLAKE2b-256 |
42fd78c9c04b286f8c1fc48fb1ddcf37c007627b2cc69d896ea5bfd990455da9
|
File details
Details for the file qianli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qianli-0.1.0-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 |
5076964694d2c0ceb5f93db99483e3f4d9aae76efd2d3c00034978dd9c8d0e9b
|
|
| MD5 |
29a14af056166687a5fa4d2825a80ccf
|
|
| BLAKE2b-256 |
12fcd738ef01ec305438083f8a94bfc447f00dbe73466cf40301d7966e5efa5c
|