视频教程
相关资料
FXD微博发布插件的JSON schema
{
"name": "fxd-app-weibo-publish",
"description": "发布微博",
"parameters": {
"type": "object",
"properties": {
"package_name": {
"type": "string",
"description": "包名称,固定为fxd-app-weibo-publish"
},
"method": {
"type": "string",
"description": "方法名称,固定为main"
},
"content": {
"type": "string",
"description": "微博内容"
},
"headless": {
"type": "boolean",
"description": "是否使用后台模式"
},
"user": {
"type": "string",
"description": "浏览器使用的用户目录"
},
"format": {
"type": "string",
"description": "返回的数据格式"
},
"timeout": {
"type": "number",
"description": "Playwright操作超时时间,单位毫秒"
},
"wait_type": {
"type": "string",
"description": "等待元素出现的方式"
},
"images": {
"type": "string",
"description": "图片地址,用逗号分隔"
},
"self_only": {
"type": "boolean",
"description": "是否仅对自己可见"
},
"browser": {
"type": "string",
"description": "浏览器类型"
}
},
"required": [
"package_name",
"method",
"content",
"headless",
"format",
"timeout",
"wait_type",
"images",
"self_only",
"browser"
]
}
}