查看原始 JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"title": "Input schema for Instagram post scraper",
"required": [
"username"
],
"properties": {
"username": {
"type": "array",
"title": "🕺 Instagram username, profile URL, or post URL",
"editor": "stringList",
"prefill": [
"natgeo",
"https://www.instagram.com/natgeo/",
"https://www.instagram.com/p/DLNsnpUTdVS/"
],
"description": "必填列表,可提供 Instagram 用户名、主页链接或具体帖子链接。应将预填示例替换为本次来源列表;每个主页的帖子数量上限和日期筛选不作用于直接帖子链接。"
},
"resultsLimit": {
"type": "integer",
"title": "💯 Maximum posts per profile",
"editor": "number",
"minimum": 1,
"prefill": 20,
"description": "可选,最小值为 1。表单预填 20,此项无默认值。这是每个主页的数量上限,不是所有主页的总数,也不保证足量返回;直接帖子链接不受此项限制。"
},
"dataDetailLevel": {
"enum": [
"basicData",
"detailedData"
],
"type": "string",
"title": "Data detail level",
"editor": "select",
"default": "detailedData",
"prefill": "basicData",
"enumTitles": [
"Basic data",
"Detailed data"
],
"description": "可选 basicData 或 detailedData。默认是 detailedData,表单预填则是 basicData,应明确选择本次数据包。detailedData 可能增加可获取的替代文字、近期评论、音乐或视频播放资料,并产生附加费用;字段随帖子而异。",
"sectionCaption": "🔍 How detailed do you want the data?",
"sectionDescription": "In this section, you can pick the version of the data you want to scrape. `Basic data` is faster and cheaper. `Detailed data` adds fields like alt text, latest comments, music info, paid partnership, and video play count. Please note that this is a paid add-on."
},
"skipPinnedPosts": {
"type": "boolean",
"title": "📌 Skip pinned posts",
"default": false,
"description": "可选,默认 false。设为 true 表示请求跳过置顶帖子。使用主页日期筛选时,近期置顶帖子仍可能出现在结果中,不能保证所有置顶帖子都被移除。"
},
"onlyPostsNewerThan": {
"type": "string",
"title": "📅 Extract posts that are newer than",
"editor": "datepicker",
"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": "可选,请求指定时间之后发布的主页帖子,或 2 days 等相对时间范围内的较新帖子。可用 YYYY-MM-DD、完整 ISO 日期时间;相对时间单位支持 minute、hour、day、week、month、year,均按 UTC 解释。不作用于直接帖子链接。"
}
},
"description": "必填的请求对象,包含选定的账号或帖子链接及可选采集设置。所选数据包会影响可获取的详细资料。",
"schemaVersion": 1
}
},
"additionalProperties": false
}