Commit Graph

5 Commits

Author SHA1 Message Date
eric
c7a7275229 fix: TikTok 发布成功后正确记为已上传,并禁止并发重复上传
vendor 的 upload_video 成功后没有 return True,被误判失败;同时立即上传会抢正在上传的任务导致重复发布。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:31:31 -05:00
eric
0815e05094 fix: TikTok 上传自动探测 tt-target-idc,避免 KeyError project
Cookie 有效但默认机房 useast2a 会导致 project/create 返回 status_code=8。上传前探测可用机房并写回 Cookie。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:22:56 -05:00
eric
78a043b0de fix: slim tiktok_uploader __init__ to skip Browser/Video imports
Package __init__ was still loading undetected_chromedriver before tiktok.upload_video could be imported.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:00:15 -05:00
eric
1515783760 fix: TikTok Cookie 上传不再依赖 undetected_chromedriver
Cookie 路径直接 import tiktok.upload_video,vendor 补丁将 Browser 改为 login 内 lazy import,避免服务器缺 Chrome 驱动导致上传失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:56:19 -05:00
eric
d8fdeaa71c TikTok: Cookie 上传(TiktokAutoUploader),替代开发者 OAuth
账号粘贴 sessionid 即可上传;TikTok 模块独立,默认关闭不影响监控/Shorts。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:16:20 -05:00