Douyin Automated Publisher
Paste the following prompt into your AI chat to install this skill:
Please install @user_929917a3/douyinpublish following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Publishing videos to Douyin repeatedly can become fragile when you manually open the creator console, upload files, fill in the title, select a cover, and confirm publishing. Failures often appear late: the title exceeds the limit, the cover is missing, the session is not logged in, or an extra click on the default public visibility state blocks the page.
This skill moves the workflow into scripted checks instead of scattered one-off browser steps.
How It Works
It uses Playwright to simulate a real browser and accesses the Douyin creator platform. The first login requires manual QR scan or SMS verification; after that, sessions are stored locally under ~/.douyin-sessions.
Before publishing, it enforces key checks:
- The video file path exists and is properly quoted
--titleis provided and no longer than 55 characters- Official publishing requires
--cover, preferring the newest cover file inexports/ - Login status is checked first; publishing continues only when
Live check: Logged inappears - Default public visibility is not clicked unless the workflow needs private or friends
After submission, Douyin processes and reviews the video server-side. The skill writes upload screenshots to debug-output/, making it easier to trace failures by checkpoint.
Boundaries
It fits workflows where local video and cover assets already exist and publishing needs scripted submission to the Douyin creator platform. First login and captcha still require manual handling, and Douyin selector changes may require script updates.
Use Cases
- Content ops use it after local videos and covers are ready to upload, fill metadata, and submit publishing on the creator platform.
- Publishing QA checks file paths, title length, cover files, and login status before submitting to avoid late upload failures.
- Schedule a video by passing a datetime value so the script fills the creator page's datetime-local control and submits.
- Troubleshoot failed uploads by inspecting debug-output checkpoints for upload, metadata, cover, and publish button states.
Best For
- Content operators managing short-video accounts who need to submit local videos, titles, and covers to the Douyin creator platform.
- Automation engineers doing publish troubleshooting who need checkpoint logs for upload, metadata, cover, and login failures.
- Full-stack developers maintaining content workflows who want to integrate Playwright browser automation into local video publishing.
- Ops tooling developers building scheduled publishing who need to submit videos at a chosen time and keep upload screenshots for debugging.
Related Skills
Rewrite self-introductions by scenario, audience, and duration, with memory hooks, structure feedback, and speakable practice versions.
Helps AI Agents apply local CSS themes to Markdown articles with wenyan-cli, including preview, WeChat draft publishing, and theme registration.
Turn Markdown or plain text into styles for Xiaohongshu, WeChat Official Accounts, Zhihu, Weibo, Douyin, Bilibili, and Toutiao.
A multi-platform writing workflow for WeChat that emphasizes information gain, scannability, SEO/GEO, and localization to produce verifiable, high-signal blog posts.