Commit Graph
18 Commits
Author SHA1 Message Date
snow-moonlight1 bb1f12977a fix(utils): decode QR image via np.fromfile for non-ASCII paths
cv2.imread cannot open files under non-ASCII (e.g. Chinese) paths on
Windows, so decode_qrcode_from_path() always returned None when the
project lived under a directory like D:\视频全平台同步\, and the
terminal QR re-print silently failed. Use np.fromfile + cv2.imdecode
instead, which handles arbitrary paths.
2026-07-21 14:03:11 +08:00
nirolee 991bcdfdf3 feat(youtube): add YouTube uploader via browser automation
Add a YouTube uploader that follows the existing cookie-based browser
automation pattern (uploader/youtube_uploader + sau youtube CLI:
login/check/upload-video). Supports title/description/tags, thumbnail,
adding to a playlist (for series), and visibility (public/unlisted/private).

Browser automation is used instead of the official Data API on purpose:
videos uploaded by an unaudited API project are force-locked to private
and cannot be made public without Google's compliance audit, which is
impractical for personal/single-channel use. Browser automation has no
such restriction and matches how every other platform here works.
2026-06-14 01:05:35 +09:00
home-dev-pookz b415613b38 1. 重构快手
- 图文增加
- 封面增加
2. 快手skill,cli支持
2026-03-25 02:25:02 +08:00
home-dev-pookz 90845f50ad 重构douyin上传,增加douyin图文
修复douyin视频封面上传
2026-03-24 23:02:22 +08:00
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
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
Edan's Win11 5c91a68d8c fix: 将所有后端文件都迁移到 sau_backend 文件夹内 2025-06-03 15:28:08 +08:00
home-dev-pookz 2facef7509 add 百家號上傳實現 2025-04-12 18:42:45 +08:00
pookz@stme 44f2700fd0 1. add kuaishou cli 2024-08-12 17:17:01 +08:00
pookz@stme 3158eb9a4c 1. add kuaishou uploader
2. refactor the code
2024-08-08 18:38:13 +08:00
pookz@stme 38bcc315bb 1. use loguru for clean console message 2024-06-14 16:19:10 +08:00
pookz@stme 096f5f87c2 1. add stealth to avoid detect 2024-06-14 14:51:24 +08:00
pookz@stme e088d76516 1. add cli support.
2. change LOCAL_CHROME_PATH to conf file
3. change douyin gen cookie url
2024-06-13 18:13:21 +08:00
pookz@stme d2e3ea8450 add bilibili uploader 2024-03-29 15:14:44 +08:00
pookz@stme 8077db5f2b 1. add tencent video uploader 2023-12-21 16:49:58 +08:00
pookz@stme 6ada1eeb5f upload douyin uploader 2023-12-04 18:29:44 +08:00