fix(douyin): 打包抖音匿名 cookies 到 API 镜像 + 容器内路径兜底
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 / 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 / Check push changed paths (push) Successful in 2s
CI/CD Pipeline / Frontend Lint (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 30s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 2m10s
CI/CD Pipeline / Build Staging API Image (push) Successful in 4m1s
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) Successful in 9s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m33s
CI/CD Pipeline / Integration Tests (push) Successful in 7m9s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m31s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m45s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 2m53s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Canary Release to Production (push) Has been cancelled
CI/CD Pipeline / CI Gate (push) Has been cancelled
CI/CD Pipeline / Validate - Security (push) Has been cancelled
CI/CD Pipeline / Validate - Style (push) Has been cancelled
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 / 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 / Check push changed paths (push) Successful in 2s
CI/CD Pipeline / Frontend Lint (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 30s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 2m10s
CI/CD Pipeline / Build Staging API Image (push) Successful in 4m1s
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) Successful in 9s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m33s
CI/CD Pipeline / Integration Tests (push) Successful in 7m9s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m31s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m45s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 2m53s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Canary Release to Production (push) Has been cancelled
CI/CD Pipeline / CI Gate (push) Has been cancelled
CI/CD Pipeline / Validate - Security (push) Has been cancelled
CI/CD Pipeline / Validate - Style (push) Has been cancelled
- api.Dockerfile: COPY deploy/configs/douyin_cookies.txt 到 /app/configs/ (ci_staging_deploy.sh 的 volume mount 会覆盖为 host 上的真实文件) - deploy/configs/douyin_cookies.txt: 替换占位符为从浏览器导出的真实匿名 cookies (31条,包含 ttwid/passport_csrf_token/odin_tt/s_v_web_id 等) - 过期后可用 scripts/refresh_douyin_cookies.py 重新导出; 过期时 extract-from-douyin 已返回 503 友好文案,不会 500
This commit is contained in:
@@ -1,5 +1,32 @@
|
||||
# Netscape HTTP Cookie File
|
||||
# https://docs.yt-dlp.org/en/latest/howto/cookies.html
|
||||
# 此文件为抖音 cookies,由浏览器导出为 Netscape 格式
|
||||
# 若出现 "抖音链接解析暂时不可用",说明 cookies 已过期,需重新导出
|
||||
# Placeholder - 等待浏览器任务导出真实 cookies 后覆盖
|
||||
www.douyin.com FALSE / FALSE 1789559527 __ac_nonce 06aaa7bde00cf01acc26
|
||||
www.douyin.com FALSE / TRUE 1821093727 __ac_signature _02B4Z6wo00f01N7Dw.wAAIDCSX73QWCHQXze88dAAF0gba
|
||||
.douyin.com TRUE / TRUE 1824117728 enter_pc_once 1
|
||||
.douyin.com TRUE / TRUE 1824117728 UIFID_TEMP 913a61fe183c24375ca96eb5b8c5d09ceb48ab0f41eb35e0431732bd448493f4e84d43765750fe3ed0cde09ed99dc2cb4bfce9cd1a9c9297091ad327ac6989d0bf4c4c9ba413fbc7a8a8cb0d58998c61
|
||||
www.douyin.com FALSE / FALSE 0 x-web-secsdk-uid 2057aefa-d4e1-4435-b808-6c57b12827da
|
||||
www.douyin.com FALSE / FALSE 1794741735 s_v_web_id verify_mu40gy2t_aNOL05Zf_3Ed8_4O7r_AiTI_zhyytepGuWQt
|
||||
www.douyin.com FALSE / FALSE 0 device_web_cpu_core 8
|
||||
www.douyin.com FALSE / FALSE 0 device_web_memory_size 8
|
||||
.douyin.com TRUE / FALSE 0 is_support_rtm_web_ts 1
|
||||
.douyin.com TRUE / FALSE 1790162535 IsDouyinActive true
|
||||
.douyin.com TRUE / FALSE 1790162535 home_can_add_dy_2_desktop %220%22
|
||||
www.douyin.com FALSE / FALSE 1790162535 dy_swidth 1440
|
||||
www.douyin.com FALSE / FALSE 1790162535 dy_sheight 900
|
||||
.douyin.com TRUE / FALSE 1790162535 stream_recommend_feed_params %22%7B%5C%22cookie_enabled%5C%22%3Atrue%2C%5C%22screen_width%5C%22%3A1440%2C%5C%22screen_height%5C%22%3A900%2C%5C%22browser_online%5C%22%3Atrue%2C%5C%22cpu_core_num%5C%22%3A8%2C%5C%22device_memory%5C%22%3A8%2C%5C%22downlink%5C%22%3A9.9%2C%5C%22effective_type%5C%22%3A%5C%224g%5C%22%2C%5C%22round_trip_time%5C%22%3A0%7D%22
|
||||
.douyin.com TRUE / FALSE 1790162536 strategyABtestKey %221789557736.225%22
|
||||
www.douyin.com FALSE / TRUE 1824117736 fpk1 U2FsdGVkX19r8KGSQ4TJmW6xJUE0CMCslk3+L41NOWIZmsZbn8+elM1+pG4Sp/falNlFmgjg9ilnk/VH3yTVvQ==
|
||||
www.douyin.com FALSE / TRUE 1824117736 fpk2 821789b99f9168330b06379c53813800
|
||||
.douyin.com TRUE / FALSE 1821093736 odin_tt d0e8e50b221addc5b110f1802cd016b3776364abe1da34defa2d154b2d6507496009e51b5d1b23ce6a16f8f154dee73429c5fb3e32ddec3f73b9eb5d844950dc237950d0ff491ec33a8ed4effc51acbc
|
||||
.douyin.com TRUE / TRUE 1794741745 passport_csrf_token 00852dd9d975ead597921e0cc63ac9cf
|
||||
.douyin.com TRUE / FALSE 1794741745 passport_csrf_token_default 00852dd9d975ead597921e0cc63ac9cf
|
||||
.douyin.com TRUE / FALSE 1794741748 __security_mc_1_s_sdk_crypt_sdk 9431d69c-4e9a-8572
|
||||
.douyin.com TRUE / FALSE 1794741748 bd_ticket_guard_regenerate_keys_time 2026-09-16/19:22:28
|
||||
.douyin.com TRUE / FALSE 1794741748 bd_ticket_guard_client_data eyJiZC10aWNrZXQtZ3VhcmQtdmVyc2lvbiI6MiwiYmQtdGlja2V0LWd1YXJkLWl0ZXJhdGlvbi12ZXJzaW9uIjoxLCJiZC10aWNrZXQtZ3VhcmQtcmVlLXB1YmxpYy1rZXkiOiJCR0FKWG5QWlg3T3dhdVFKeTF5MVZlZGZnYXh3MDdwRmovREhPa2VjaWErQWdzbE9ITUtvcmlYWUFHR05xZSttdlQyb3dHUjZ1TmV2R1luTGFhaUZ4T009IiwiYmQtdGlja2V0LWd1YXJkLXdlYi12ZXJzaW9uIjoyfQ%3D%3D
|
||||
.douyin.com TRUE / FALSE 1794741748 bd_ticket_guard_client_web_domain 2
|
||||
.douyin.com TRUE / TRUE 1821093750 ttwid 1%7CnKnjpGZ_gV3wrJ9BbiIiZXCSoR5cXE-9oWeLTFYBang%7C1789557750%7C3b9f3308e5183af4d4af3916ce5a247c9c0b730c5c3c6b926d7deeb0c1b4af91
|
||||
.douyin.com TRUE / FALSE 0 biz_trace_id b59ab86b
|
||||
.douyin.com TRUE / FALSE 1789558053 sdk_source_info 7e276470716a68645a606960273f276364697660272927676c715a6d6069756077273f276364697660272927666d776a68605a607d71606b766c6a6b5a7666776c7571273f275e58272927666a6b766a69605a696c6061273f27636469766027292762696a6764695a7364776c6467696076273f275e582729277672715a646971273f2763646976602729277f6b5a666475273f2763646976602729276d6a6e5a6b6a716c273f2763646976602729276c6b6f5a7f6367273f27636469766027292771273f27313d313630323230303c3d3234272927676c715a75776a716a666a69273f2763646976602778
|
||||
.douyin.com TRUE / FALSE 1789558053 bit_env z-411jHjAQrBkWMlP_KlBd50J7UItENLYMhMS9H1bBt2wSZHvz6Meb5tkTc59dnFaw61Dgxz66OoDewIheqkyNUvfb_XJy8nSNHlsFiKlJiDWUXcF97Db_eLtdoxRbXBX1J17JE9CB89GN2pgbnQbKo8o8XF00gcVDlSLRBC41GmSvmbqLWhLx77uhiQKJQJ9KiiAgxIqdDSJW07PiJBzwFxdGJF3b2QdXzKGPcjNSNHmAuM-7OBhQ1rY_27F_SzsO8jmJWCxniFGK7C9KsE57hqqxRaXTssIjNbqntXDX76V5TpS_RQpUPJqsSVsHDAaisMWjBem4OU6Qf3KHtZt9VM8YqZjM5GRLOYh239kFxY4S8hQUdUXWSZvkXUQobha3tTWniBJ5dyZFaRxwAYSUQSC5gds3juQqjHo5JdTwJSTixJp4SlIwM1_YsbtUeaQ5992GgjPbAzqAt0hAjIkNfRBk7t_qbJJfs_Ao-KzMBkGrmYthFBGDkhGVhVL8HRHxPotqKq8uoEsP8l7Gszqktd4KrS0nLyA4Wnhx4nTwE%3D
|
||||
.douyin.com TRUE / FALSE 1789558053 gulu_source_res eyJwX2luIjoiYjkxNGNiZmRkNGIxMDMzYmQ2OTMyZjc4NjlkMGI1OGE4YTdiNmY3NDRmNjBjMzE5ZjlkMjFjMTI4MDdjNmMxMiJ9
|
||||
.douyin.com TRUE / FALSE 1789557993 passport_auth_mix_state o0ju7lfseg87ftqw9jxnmhayev6rnp4g
|
||||
api.feelgood.cn FALSE / TRUE 1821093756 fg_uid RID202609161922340F54ABB788FBFBA43C13
|
||||
|
||||
Reference in New Issue
Block a user