refactor(douyin): 三层兜底方案最终版(App Feed+TikHub+apizero),移除GoDownloader,清理硬编码Key
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 3s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / PR Build API Image (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Has been skipped
CI/CD Pipeline / PR Build Worker Image (push) Has been skipped
CI/CD Pipeline / Build Staging Web Image (push) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 35s
CI/CD Pipeline / Build Staging API Image (push) Successful in 41s
CI/CD Pipeline / Retag skipped Staging API Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 23s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 2m45s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 4m47s
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Validate - Style (push) Failing after 13m13s
CI/CD Pipeline / Integration Tests (push) Successful in 13m53s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 16m1s
CI/CD Pipeline / Unit Tests (push) Successful in 18m59s
CI/CD Pipeline / Validate - Security (push) Successful in 38m11s
CI/CD Pipeline / Build Production API Image (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Has been skipped
CI/CD Pipeline / Build Production Worker Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped

- 移除 P3 GoDownloader/RapidAPI(不再需要)
- douyin_resolver.py: P0 App Feed(免费) → P1 TikHub → P2 apizero
- API Key 全部从 os.environ 读取,无任何硬编码
- 清理 .env.example 中 RAPIDAPI_KEY 配置项
- scripts_ai.py docstring 更新
- 错误码分阶段(parse/asr/download)保留
- yt-dlp/cookies/ttwid 死代码已在前置提交删除
This commit is contained in:
xiaoxia
2026-09-17 21:51:08 +08:00
parent 73b9f7f97c
commit 43dfd6d425
3 changed files with 6 additions and 49 deletions
-3
View File
@@ -205,7 +205,6 @@ DOUBAO_MAX_RETRIES=2
POINTS_ENABLED=false
# ==================== 抖音解析多源轮询 (#1963) ====================
# P0 App Feed API(免费,默认启用)→ P1 TikHub → P2 apizero → P3 GoDownloader
# 无需配置 Key 也可使用(P0 免费源可用),配置 Key 可增加兜底能力
# TikHub API Key (https://tikhub.io) — $0.001/次起,注册送$0.05
@@ -214,5 +213,3 @@ TIKHUB_API_KEY=
# apizero.cn API Key (https://v1.apizero.cn) — 国内抖音解析服务
APIZERO_API_KEY=
# RapidAPI Key (https://rapidapi.com) — 订阅 GoDownloader 免费层(60次/分)
RAPIDAPI_KEY=