Commit Graph
17 Commits
Author SHA1 Message Date
home-dev-pookz fe6e9f4af9 重构douyin上传,增加douyin图文
修复douyin视频封面上传
2026-03-24 21:33:15 +08:00
钟停为止 27bb20b206 fix: 解决本地 Chrome 配置(LOCAL_CHROME_PATH)未生效与平台扫码限流假死问题
## 背景与复现问题
  当前架构中,许多用户即使在 `conf.py` 中配置了 `LOCAL_CHROME_HEADLESS=False` 以及自己的
  `LOCAL_CHROME_PATH`,扫码登录时依然会调用自带的不隐身内核,这诱发了两个严重阻断:
  1. 环境变量逃逸:因为散落在 `login.py` 等文件中大多只传了 `headless` 参数,并未传递 `executable_path`,导致外部浏览器配置彻底失效。
  2. 反爬风控假死:系统直接抛出的 `webdriver=true` 会遭来抖音/小红书级别极其严厉的滑块甚至二维码阻断,最终卡死,后台报错 `监听页面跳转超时`。

  ## 本次修复
  1. **全局接管配置**:构建统一的浏览器环境变量拦截钩子 `utils/browser_hook.py`。
  2. **防风控注入**:加入 `--disable-blink-features=AutomationControlled` 隐藏驱动器指纹,免受大数据识别拦截,极大提升扫码登入与发布的通过率。
  3. **修复登录扫码挂载**:改写 `login.py` 对接,已验证能够丝滑拉起本地指纹浏览器。
2026-03-05 10:37:05 +08:00
AlleriaandGitHub 35c015ea06 Merge pull request #156 from gzxy0102/fix-docker
fix: Docker环境修复
2025-11-21 09:49:00 +08:00
听风 9d1bfc6525 fix: 修复Docker中打包的前端请求地址为本地 2025-11-20 14:58:49 +08:00
AlleriaandGitHub 2f957b79ff Merge branch 'main' into main 2025-11-17 17:39:19 +08:00
听风andGitHub 5a6cd1bd06 Merge branch 'dreammis:main' into main 2025-11-16 09:54:52 +08:00
Deroino 81b71d023d feat(wechat-channel): add draft upload functionality for video channel
- Add isDraft parameter to TencentVideo class to control publishing behavior
- Modify click_publish method to click "保存草稿" instead of "发表" when isDraft is true
- Update post_video_tencent function to accept and pass is_draft parameter
- Add is_draft parameter to /postVideo API endpoint to receive frontend data
- Add "视频号上传草稿" checkbox in frontend that appears only for video channel platform
- Update defaultTabInit to include isDraft property with default value false
- Include isDraft in publishData sent to backend API
- Implement proper URL checking for draft vs publish success confirmation

The new functionality allows users to save WeChat Channel videos as drafts
instead of immediately publishing them when the checkbox is selected.
2025-11-13 09:12:39 +08:00
Leo Song 250d7424b1 修复之前PR的bug 2025-11-09 15:23:30 +08:00
听风 de2389c9b1 feat: 增加Docker容器环境 2025-11-06 14:50:19 +08:00
AlleriaandGitHub 7de1a30b92 Merge pull request #144 from leordsong/feature/douyin-productlink
重新支持抖音封面设置
2025-11-04 02:05:58 +08:00
Leo Song 0235e89b9e 重新支持抖音封面设置 2025-11-03 15:17:50 +08:00
AlleriaandGitHub 595dea2f76 Merge pull request #131 from taochangle/patch-2
修复抖音cookie有效性判定
2025-10-30 09:47:44 +08:00
AnDaoAiandClaude 0e50d4aafd fix: 保存cookie前创建cookiesFile目录以防止文件不存在错误
- 在所有平台的cookie生成函数中添加目录创建逻辑
- 修复cookiesFile目录不存在导致cookie保存失败的问题
- 影响的函数:douyin_cookie_gen、get_tencent_cookie、get_ks_cookie和xiaohongshu_cookie_gen

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 16:38:46 +08:00
Leo Song 250fff19a9 [feature] support product link in douyin 2025-10-15 16:25:12 +08:00
陶欣andGitHub 74939a0c06 修复抖音cookie有效性判定 2025-08-25 17:06:54 +08:00
Edan's Win11 86fb7f6563 feat: 增加 xiaohongshu 的登录和发布相关脚本 2025-06-03 23:02:47 +08:00
Edan's Win11 77c62a2b0f fix: 将 sau_backend 目录的文件,再挪回根目录,以防止大家迁移出现问题 2025-06-03 17:02:28 +08:00