查看原始 JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"title": "Input schema for the empty project actor.",
"required": [
"startUrls"
],
"properties": {
"startUrls": {
"type": "array",
"title": "🔗 Facebook group URLs",
"editor": "requestListSources",
"example": [
{
"url": "https://www.facebook.com/groups/874728723021553"
}
],
"prefill": [
{
"url": "https://www.facebook.com/groups/874728723021553"
}
],
"description": "必填的已选 Facebook 公开群组链接列表,每个条目用 url 提供完整链接。预填群组只是示例,不是默认值;访问状态与可见帖子可能变化,不支持私密群组。"
},
"viewOption": {
"enum": [
"CHRONOLOGICAL",
"RECENT_ACTIVITY",
"TOP_POSTS",
"CHRONOLOGICAL_LISTINGS"
],
"type": "string",
"title": "📜 Sorting order",
"editor": "select",
"default": "CHRONOLOGICAL",
"example": "CHRONOLOGICAL",
"prefill": "CHRONOLOGICAL",
"enumTitles": [
"New posts",
"Newest activity",
"Most relevant",
"BuySell items"
],
"description": "默认 CHRONOLOGICAL(新帖子)。RECENT_ACTIVITY 按最新活动排序,不一定按帖子发布先后;TOP_POSTS 使用来源的相关性排序;CHRONOLOGICAL_LISTINGS 只适用于买卖群组。resultsLimit 仅作用于 CHRONOLOGICAL。"
},
"resultsLimit": {
"type": "integer",
"title": "✍️ Number of posts",
"editor": "number",
"example": 20,
"minimum": 1,
"prefill": 20,
"description": "可选整数,至少为 1,仅适用于新帖子排序。没有默认值,预填的 20 只是示例;省略时尝试取得尽可能多的可访问帖子,不代表完整覆盖。此设置不能为其他排序方式提供可靠的数量上限。"
},
"searchGroupYear": {
"type": "string",
"title": "🗓 Search keyword by year",
"editor": "textfield",
"example": "2024",
"description": "可选年份,需与 searchGroupKeyword 一起使用,不是独立年份筛选。搜索覆盖有限,年份限制可能不生效;应核对返回的发布时间,不能假定已取得该年全部帖子。没有默认值。"
},
"onlyPostsNewerThan": {
"type": "string",
"title": "Posts newer than",
"editor": "datepicker",
"example": "2024-01-01",
"pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])(T[0-2]\\d:[0-5]\\d(:[0-5]\\d)?(\\.\\d+)?Z?)?$|^(\\d+)\\s*(minute|hour|day|week|month|year)s?$",
"dateType": "absoluteOrRelative",
"description": "可选的帖子发布时间起点,筛选范围朝向当前时间,没有默认值。支持 YYYY-MM-DD、完整或部分 ISO 时间戳,以及 1 hour、2 months 等相对时段;时间戳按 UTC 解释。不保证范围完整或边界时刻一定包含,也不按帖子编辑或互动时间筛选。",
"sectionCaption": "Time frame",
"sectionDescription": "Use this if you only want to scrape posts from a specific period of time."
},
"searchGroupKeyword": {
"type": "string",
"title": "Search by letter (words are allowed, but will not return any results in most cases)",
"editor": "textfield",
"example": "a",
"description": "可选字母或关键词,未登录时搜索覆盖很有限,完整词语可能没有结果。一两个字母也只是搜索选择,不保证匹配;当前筛选效果及完整关键词覆盖均不保证,需核对实际返回的正文。"
}
},
"description": "必填请求对象,包含已选公开群组链接,以及可选排序、数量、帖子发布时间或有限搜索条件。取得可访问帖子及可能附带的热门评论背景,不请求私密内容访问或成员名单。",
"schemaVersion": 1
}
},
"additionalProperties": false
}