41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"video_path": "C:/path/to/video.mp4",
|
|
"title": "视频标题示例",
|
|
"description": "视频正文或简介。可以包含换行。",
|
|
"topics": ["视频号", "自动发布"],
|
|
"cover_path": "C:/path/to/cover.jpg",
|
|
"publish_at": null,
|
|
"visibility": "public",
|
|
"product_adapter": {
|
|
"name": "playwright",
|
|
"product": "built-in",
|
|
"docs_url": "",
|
|
"install_commands": [
|
|
"python -m pip install -r requirements.txt",
|
|
"python -m playwright install chromium"
|
|
],
|
|
"verify_commands": ["python -c \"import playwright; print('playwright ok')\""],
|
|
"run_command": "python scripts/publish.py --config path/to/config.json --headed",
|
|
"evidence": ["before-final-action screenshot", "run log"],
|
|
"notes": "Use name=openclaw or name=workbuddy when the user wants a specific product adapter."
|
|
},
|
|
"browser": {
|
|
"storage_state": ".auth/wechat_channels_state.json",
|
|
"headless": false,
|
|
"slow_mo_ms": 100,
|
|
"timeout_ms": 60000,
|
|
"review_seconds": 0
|
|
},
|
|
"selectors": {
|
|
"create_url": "https://channels.weixin.qq.com/platform/post/create",
|
|
"video_input": "input[type='file']",
|
|
"cover_input": "",
|
|
"title": "",
|
|
"description": "",
|
|
"save_draft_button": "",
|
|
"publish_button": "",
|
|
"schedule_button": "",
|
|
"schedule_input": ""
|
|
}
|
|
}
|