Toutiao Automatic Article Publishing
Feature Overview
Automatically publishes graphic content on Toutiao through browser automation, supporting intelligent formatting, automatic generation of popular tags, and tag activation. No API keys required; uses browser automation to complete the entire process of login, content filling, tag generation, and publishing. Only QR code login requires manual operation; all other steps are fully automated.
Trigger Scenarios
- - 用户说"发布到今日头条"、"发到头条"、"自动发布头条文章"
- 用户有文章标题和内容需要发布到今日头条
- 用户需要批量发布内容到头条号
- User says "publish to Toutiao", "post to Toutiao", "automatically publish Toutiao article"
- User has article title and content to publish on Toutiao
- User needs to batch publish content to Toutiao account
Workflow
1. Login Detection
- - Visit https://mp.toutiao.com/profile_v4/index
- Check login status
- If not logged in, prompt user to scan QR code to log in (requires manual operation)
- Wait for login to complete
2. Enter Publishing Page
- - Directly visit https://mp.toutiao.com/profile_v4/graphic/publish
- Wait for the editor to fully load
3. Content Intelligent Processing
3.1 Title Recognition and Processing
- - Analyze the body content to identify potential section headings
- Heading characteristics:
- Starts with numbers (e.g., "1.", "一、", "(1)")
- Starts with "Chapter X/Section X"
- Short sentence at the beginning of a paragraph (within 10 characters)
- Contains keywords (e.g., "Introduction", "Conclusion", "Summary", "Foreword")
3.2 Automatically Apply Subheading Styles
Once headings are identified, automatically apply Toutiao editor's subheading styles:
- - Select the heading text
- Click the editor's "H" button or select the "Subheading" style
- Ensure headings are prominently displayed
3.3 Body Text Formatting Optimization
- - Paragraph Spacing: Add blank lines between paragraphs to improve readability
- Key Point Emphasis: Use bold to highlight key sentences
- List Optimization: Convert enumerated content into ordered or unordered lists
- Paragraph Splitting: Appropriately split long paragraphs, ideally 3-5 sentences per paragraph
4. Automatically Generate Popular Tags
4.1 Tag Analysis Dimensions
Automatically generate 3-5 popular tags based on article content:
| Analysis Dimension | Description | Example |
|---|
| Core Theme | Main technology/field discussed in the article | OpenClaw, AI Agent |
| Industry Hotspot |
Current trending topics | Artificial Intelligence, Large Language Models |
| Niche Area | Vertical application scenarios | Enterprise Intelligence, Personal Efficiency |
| Trend Prediction | Future-oriented discussions | Development Trends, Future Outlook |
| Practical Value | Value readers can gain | Tutorials, Guides, Analysis |
4.2 Tag Generation Rules
CODEBLOCK0
4.3 Tag Selection Strategy
- - Mandatory Tags: Core theme words of the article (1-2)
- Recommended Tags: Industry hotspot words (1-2)
- Auxiliary Tags: Niche area/practical value words (1)
Number of Tags: 3-5, no more than 5
5. Activate Tags
5.1 Tag Input Method
- - Locate the "Tags" input field on the article publishing page
- Enter the generated popular tags one by one
- Press Enter after each tag to confirm
- Wait for the system to automatically match/add
5.2 Tag Activation Checklist
Checklist for tag activation:
- - ✅ Whether the number of tags is within the 3-5 range
- ✅ Whether tags are relevant to the article content
- ✅ Whether popular tags have search volume
- ✅ Avoid duplicate or similar tags
5.3 Tag Optimization Suggestions
- - Prioritize tags with search volume
- Use long-tail tags as supplements
- Avoid tags that are too broad or too specialized
- Reference popular topics at the end of articles
6. Content Filling
- - Title: Fill in the user-provided title in the title input field (2-30 characters)
- Body Text: Fill in the content after intelligent formatting processing
- Tags: Fill in and activate the automatically generated popular tags
- Display Cover: Select no cover
7. Execute Publishing
- - Click the "Preview and Publish" button
- When the preview pop-up appears, click the "Confirm Publish" button
- Click the "Confirm Publish" button
Intelligent Tag System
Tag Combination Strategy
| Article Type | Tag Combination Example |
|---|
| Technical Tutorial | Core Tool + Operation Method + Practical Value |
| Trend Analysis |
Industry Hotspot + Core Theme + Future Trend |
| Product Review | Product Name + Core Features + Application Scenarios |
| Experience Sharing | Core Experience + Target Audience + Outcome Value |
Intelligent Formatting Rules
Heading Recognition Rules
CODEBLOCK1
Formatting Beautification Rules
- 1. Heading Hierarchy: Use "Subheading" style for primary headings, use bold for secondary headings
- Paragraph Optimization: Keep each paragraph to 100-200 characters, split if too long
- Key Point Emphasis: Use bold for core viewpoints, data, and conclusions
- List Conversion: Convert 3 or more parallel items into list format
- Blank Line Handling: Maintain appropriate blank lines before and after headings, and between paragraphs
Usage Instructions
Users need to provide:
- - Title: Article title (2-30 characters) (required)
- Body Text: Article content (required)
Important Notes
- 1. Login Status: QR code login is required for first-time use or when cookies expire
- Content Compliance: Adhere to Toutiao community guidelines; avoid violating content
- Tag Selection: Choose tags highly relevant to the article; avoid stacking irrelevant tags
- Frequency Limits: Avoid publishing multiple articles in a short period; it is recommended to wait at least 5 minutes between publications
- Formatting Check: It is recommended to preview and check the formatting effect and tag display after publishing
Error Handling
- - Login Failure: Prompt user to rescan the QR code
- Publishing Failure: Check network connection, retry, or provide specific error information
- Content Violation: Prompt user to modify content and retry
- Formatting Anomaly: Check if the editor loaded correctly; refresh the page and retry if necessary
- Tags Cannot Be Activated: Manually check if the tag input field was filled in correctly
头条图文自动发布
功能概述
通过浏览器自动化在今日头条上自动发布图文内容,支持智能排版、自动生成热门标签并激活标签。无需API密钥,使用浏览器自动化完成登录、内容填写、标签生成和发布的完整流程。仅二维码登录需要手动操作,其他步骤全自动完成。
触发场景
- - 用户说发布到今日头条、发到头条、自动发布头条文章
- 用户有文章标题和内容需要发布到今日头条
- 用户需要批量发布内容到头条号
- User says publish to Toutiao, post to Toutiao, automatically publish Toutiao article
- User has article title and content to publish on Toutiao
- User needs to batch publish content to Toutiao account
工作流程
1. 登录检测
- - 访问 https://mp.toutiao.com/profile_v4/index
- 检查登录状态
- 如果未登录,提示用户扫码登录(需手动操作)
- 等待登录完成
2. 进入发布页面
- - 直接访问 https://mp.toutiao.com/profile_v4/graphic/publish
- 等待编辑器完全加载
3. 内容智能处理
3.1 标题识别与处理
- 以数字开头(如1.、一、、(1))
- 以第X章/第X节开头
- 段落开头的短句(10字以内)
- 包含关键词(如引言、结论、总结、前言)
3.2 自动应用副标题样式
识别标题后,自动应用头条编辑器的副标题样式:
- - 选中标题文本
- 点击编辑器的H按钮或选择副标题样式
- 确保标题突出显示
3.3 正文排版优化
- - 段落间距:在段落之间添加空行,提高可读性
- 重点强调:使用加粗突出关键句子
- 列表优化:将列举内容转换为有序或无序列表
- 段落拆分:适当拆分长段落,每段以3-5句为宜
4. 自动生成热门标签
4.1 标签分析维度
根据文章内容自动生成3-5个热门标签:
| 分析维度 | 说明 | 示例 |
|---|
| 核心主题 | 文章讨论的主要技术/领域 | OpenClaw、AI Agent |
| 行业热点 |
当前热门话题 | 人工智能、大语言模型 |
| 细分领域 | 垂直应用场景 | 企业智能、个人效率 |
| 趋势预测 | 面向未来的讨论 | 发展趋势、未来展望 |
| 实用价值 | 读者能获得的价值 | 教程、指南、分析 |
4.2 标签生成规则
标签来源优先级:
- 1. 文章标题中的核心词
- 各小节标题中的关键词
- 频繁出现的专业术语
- 相关领域的热门词汇
- 目标受众标签
4.3 标签选择策略
- - 必选标签:文章核心主题词(1-2个)
- 推荐标签:行业热点词(1-2个)
- 辅助标签:细分领域/实用价值词(1个)
标签数量:3-5个,不超过5个
5. 激活标签
5.1 标签输入方式
- - 定位文章发布页面的标签输入框
- 逐个输入生成的标签
- 每个标签输入后按回车确认
- 等待系统自动匹配/添加
5.2 标签激活检查清单
标签激活检查清单:
- - ✅ 标签数量是否在3-5个范围内
- ✅ 标签是否与文章内容相关
- ✅ 热门标签是否有搜索量
- ✅ 避免重复或相似标签
5.3 标签优化建议
- - 优先使用有搜索量的标签
- 使用长尾标签作为补充
- 避免过于宽泛或过于专业的标签
- 参考文章末尾的热门话题
6. 内容填写
- - 标题:在标题输入框中填写用户提供的标题(2-30字)
- 正文:填写经过智能排版处理后的内容
- 标签:填写并激活自动生成的标签
- 展示封面:选择不设置封面
7. 执行发布
- - 点击预览并发布按钮
- 预览弹窗出现后,点击确认发布按钮
- 点击确认发布按钮
智能标签系统
标签组合策略
| 文章类型 | 标签组合示例 |
|---|
| 技术教程 | 核心工具 + 操作方法 + 实用价值 |
| 趋势分析 |
行业热点 + 核心主题 + 未来趋势 |
| 产品评测 | 产品名称 + 核心功能 + 应用场景 |
| 经验分享 | 核心经验 + 目标受众 + 成果价值 |
智能排版规则
标题识别规则
一级标题特征:
- - 格式:一、二、三... 或 1. 2. 3... 或 第1章/第1节
- 位置:段落开头
- 长度:通常2-10字
二级标题特征:
- - 格式:(一)(二) 或 1.1 1.2 或 ① ②
- 位置:段落开头
- 长度:通常2-15字
关键词标题:
- - 引言/前言/序言
- 结论/总结/结语
- 背景/概述/简介
- 方法/分析/讨论
排版美化规则
- 1. 标题层级:一级标题使用副标题样式,二级标题使用加粗
- 段落优化:每段保持100-200字,过长则拆分
- 重点强调:核心观点、数据、结论使用加粗
- 列表转换:3个及以上并列项转换为列表格式
- 空行处理:标题前后、段落之间保持适当空行
使用说明
用户需要提供:
- - 标题:文章标题(2-30字)(必填)
- 正文:文章内容(必填)
重要提示
- 1. 登录状态:首次使用或Cookie过期时需要扫码登录
- 内容合规:遵守头条社区规范,避免违规内容
- 标签选择:选择与文章高度相关的标签,避免堆砌无关标签
- 频率限制:避免短时间内发布多篇文章,建议每次发布间隔至少5分钟
- 排版检查:建议发布后预览检查排版效果和标签显示
错误处理
- - 登录失败:提示用户重新扫码
- 发布失败:检查网络连接,重试或提供具体错误信息
- 内容违规:提示用户修改内容后重试
- 排版异常:检查编辑器是否正常加载,必要时刷新页面重试
- 标签无法激活:手动检查标签输入框是否填写正确