fix(douyin): upload-note times out after title placeholder change
Summary
On current origin/main@9dc3cdb, douyin upload-note passes cookie and image validation, uploads all images, reaches the image publishing page, and then times out for 120 seconds waiting for the old title selector.
Reproduction
sau douyin upload-note --account <account> --images <five local PNG files> --title <title> --note <body>Observed flow:
- cookie check passed
- upload preflight passed
- all 5 images uploaded
- URL reached
creator-micro/content/post/image - then failed with
Timeout 120000ms exceededwhile waiting forinput[placeholder*="填写作品标题"]
Live DOM evidence
A read-only inspection of the current authenticated Douyin image publishing page shows:
input[placeholder*="填写作品标题"] count = 0
input[placeholder*="添加作品标题"] count = 1
actual placeholder = 添加作品标题The description editor still matches:
div.zone-container[contenteditable="true"]
data-placeholder = 添加作品描述...Root cause
DouyinBaseUploader.fill_title_and_description() still hard-codes the June DOM wording:
title_input = page.locator("input[placeholder*=\"填写作品标题\"]").firstThe current UI changed only the verb from 填写 to 添加, so the uploader never reaches title/body filling or the publish button.
Suggested upstream fix
Use a compatibility selector that matches both known variants, such as input[placeholder*="作品标题"], and add a focused regression covering both placeholder texts. The current UI shows a 20-character title limit, consistent with validate_upload_args().
No local SAU source patch was applied. The failed run did not produce a visible item with the test title in the creator content list.
Source: dreammis/social-auto-upload