全中文输出 + 积极正向的状态提示

所有 doctor 输出和渠道描述改为中文。
状态提示从'不支持/需要配置'的语气改为'配置一下就能用'。

Before:  Reddit posts — Need config: reddit_proxy
After:   Reddit 帖子和评论 — 配个代理就能用

Before:  XiaoHongShu — Need config: xhs_cookie
After:   小红书笔记 — 导入浏览器 Cookie 就能用
This commit is contained in:
Panniantong
2026-02-24 09:14:41 +01:00
parent 904f8dfb49
commit 2098dacd37
13 changed files with 54 additions and 44 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ import requests
class TwitterChannel(Channel):
name = "twitter"
description = "Twitter/X posts"
description = "Twitter/X 推文"
backends = ["birdx", "Jina Reader"]
tier = 0 # Single tweet reading is zero-config
@@ -27,8 +27,8 @@ class TwitterChannel(Channel):
def check(self, config=None):
# Basic reading always works (Jina fallback)
if shutil.which("birdx"):
return "ok", "Full access (search + timeline + threads)"
return "ok", "Read-only (single tweets via Jina). Install birdx for search + timelines"
return "ok", "搜索、时间线、发推全部可用"
return "ok", "可读取推文。安装 birdx + 配置 Cookie 可解锁搜索和发推"
return "ok", "Jina Reader (single tweets only)"
async def read(self, url: str, config=None) -> ReadResult: