查看原始 JSON
{
"type": "object",
"required": [],
"properties": {
"body": {
"type": "object",
"title": "TikTok Scraper",
"properties": {
"keywords": {
"type": "array",
"title": "Search Keywords",
"editor": "stringList",
"prefill": [
"Artificial Intelligence",
"podcast"
],
"description": "可选关键词列表,用于查找匹配的 TikTok 帖子。预填词仅为示例,不是自动添加的查询目标。当前每个查询至少请求 10 帖,应明确设置有限的总条数上限;不要假定链接与关键词会合并执行。",
"sectionCaption": "Query Builder for Search (Optional)",
"sectionDescription": "An easy way to build your search queries."
},
"location": {
"enum": [
"AF",
"AL",
"DZ",
"AS",
"AD",
"AO",
"AI",
"AQ",
"AG",
"AR",
"AM",
"AW",
"AU",
"AT",
"AZ",
"BS",
"BH",
"BD",
"BB",
"BY",
"BE",
"BZ",
"BJ",
"BM",
"BT",
"BO",
"BQ",
"BA",
"BW",
"BV",
"BR",
"IO",
"BN",
"BG",
"BF",
"BI",
"CV",
"KH",
"CM",
"CA",
"KY",
"CF",
"TD",
"CL",
"CN",
"CX",
"CC",
"CO",
"KM",
"CD",
"CG",
"CK",
"CR",
"HR",
"CU",
"CW",
"CY",
"CZ",
"CI",
"DK",
"DJ",
"DM",
"DO",
"EC",
"EG",
"SV",
"GQ",
"ER",
"EE",
"SZ",
"ET",
"FK",
"FO",
"FJ",
"FI",
"FR",
"GF",
"PF",
"TF",
"GA",
"GM",
"GE",
"DE",
"GH",
"GI",
"GR",
"GL",
"GD",
"GP",
"GU",
"GT",
"GG",
"GN",
"GW",
"GY",
"HT",
"HM",
"VA",
"HN",
"HK",
"HU",
"IS",
"IN",
"ID",
"IR",
"IQ",
"IE",
"IM",
"IL",
"IT",
"JM",
"JP",
"JE",
"JO",
"KZ",
"KE",
"KI",
"KP",
"KR",
"KW",
"KG",
"LA",
"LV",
"LB",
"LS",
"LR",
"LY",
"LI",
"LT",
"LU",
"MO",
"MG",
"MW",
"MY",
"MV",
"ML",
"MT",
"MH",
"MQ",
"MR",
"MU",
"YT",
"MX",
"FM",
"MD",
"MC",
"MN",
"ME",
"MS",
"MA",
"MZ",
"MM",
"NA",
"NR",
"NP",
"NL",
"NC",
"NZ",
"NI",
"NE",
"NG",
"NU",
"NF",
"MP",
"NO",
"OM",
"PK",
"PW",
"PS",
"PA",
"PG",
"PY",
"PE",
"PH",
"PN",
"PL",
"PT",
"PR",
"QA",
"MK",
"RO",
"RU",
"RW",
"RE",
"BL",
"SH",
"KN",
"LC",
"MF",
"PM",
"VC",
"WS",
"SM",
"ST",
"SA",
"SN",
"RS",
"SC",
"SL",
"SG",
"SX",
"SK",
"SI",
"SB",
"SO",
"ZA",
"GS",
"SS",
"ES",
"LK",
"SD",
"SR",
"SJ",
"SE",
"CH",
"SY",
"TW",
"TJ",
"TZ",
"TH",
"TL",
"TG",
"TK",
"TO",
"TT",
"TN",
"TR",
"TM",
"TC",
"TV",
"UG",
"UA",
"AE",
"GB",
"UM",
"US",
"UY",
"UZ",
"VU",
"VE",
"VN",
"VG",
"VI",
"WF",
"EH",
"YE",
"ZM",
"ZW",
"AX"
],
"type": "string",
"title": "Location / Region",
"editor": "select",
"prefill": "US",
"enumTitles": [
"Afghanistan",
"Albania",
"Algeria",
"American Samoa",
"Andorra",
"Angola",
"Anguilla",
"Antarctica",
"Antigua and Barbuda",
"Argentina",
"Armenia",
"Aruba",
"Australia",
"Austria",
"Azerbaijan",
"Bahamas (the)",
"Bahrain",
"Bangladesh",
"Barbados",
"Belarus",
"Belgium",
"Belize",
"Benin",
"Bermuda",
"Bhutan",
"Bolivia (Plurinational State of)",
"Bonaire, Sint Eustatius and Saba",
"Bosnia and Herzegovina",
"Botswana",
"Bouvet Island",
"Brazil",
"British Indian Ocean Territory (the)",
"Brunei Darussalam",
"Bulgaria",
"Burkina Faso",
"Burundi",
"Cabo Verde",
"Cambodia",
"Cameroon",
"Canada",
"Cayman Islands (the)",
"Central African Republic (the)",
"Chad",
"Chile",
"China",
"Christmas Island",
"Cocos (Keeling) Islands (the)",
"Colombia",
"Comoros (the)",
"Congo (the Democratic Republic of the)",
"Congo (the)",
"Cook Islands (the)",
"Costa Rica",
"Croatia",
"Cuba",
"Curaçao",
"Cyprus",
"Czechia",
"Côte d'Ivoire",
"Denmark",
"Djibouti",
"Dominica",
"Dominican Republic (the)",
"Ecuador",
"Egypt",
"El Salvador",
"Equatorial Guinea",
"Eritrea",
"Estonia",
"Eswatini",
"Ethiopia",
"Falkland Islands (the) [Malvinas]",
"Faroe Islands (the)",
"Fiji",
"Finland",
"France",
"French Guiana",
"French Polynesia",
"French Southern Territories (the)",
"Gabon",
"Gambia (the)",
"Georgia",
"Germany",
"Ghana",
"Gibraltar",
"Greece",
"Greenland",
"Grenada",
"Guadeloupe",
"Guam",
"Guatemala",
"Guernsey",
"Guinea",
"Guinea-Bissau",
"Guyana",
"Haiti",
"Heard Island and McDonald Islands",
"Holy See (the)",
"Honduras",
"Hong Kong",
"Hungary",
"Iceland",
"India",
"Indonesia",
"Iran (Islamic Republic of)",
"Iraq",
"Ireland",
"Isle of Man",
"Israel",
"Italy",
"Jamaica",
"Japan",
"Jersey",
"Jordan",
"Kazakhstan",
"Kenya",
"Kiribati",
"Korea (the Democratic People's Republic of)",
"Korea (the Republic of)",
"Kuwait",
"Kyrgyzstan",
"Lao People's Democratic Republic (the)",
"Latvia",
"Lebanon",
"Lesotho",
"Liberia",
"Libya",
"Liechtenstein",
"Lithuania",
"Luxembourg",
"Macao",
"Madagascar",
"Malawi",
"Malaysia",
"Maldives",
"Mali",
"Malta",
"Marshall Islands (the)",
"Martinique",
"Mauritania",
"Mauritius",
"Mayotte",
"Mexico",
"Micronesia (Federated States of)",
"Moldova (the Republic of)",
"Monaco",
"Mongolia",
"Montenegro",
"Montserrat",
"Morocco",
"Mozambique",
"Myanmar",
"Namibia",
"Nauru",
"Nepal",
"Netherlands (the)",
"New Caledonia",
"New Zealand",
"Nicaragua",
"Niger (the)",
"Nigeria",
"Niue",
"Norfolk Island",
"Northern Mariana Islands (the)",
"Norway",
"Oman",
"Pakistan",
"Palau",
"Palestine, State of",
"Panama",
"Papua New Guinea",
"Paraguay",
"Peru",
"Philippines (the)",
"Pitcairn",
"Poland",
"Portugal",
"Puerto Rico",
"Qatar",
"Republic of North Macedonia",
"Romania",
"Russian Federation (the)",
"Rwanda",
"Réunion",
"Saint Barthélemy",
"Saint Helena, Ascension and Tristan da Cunha",
"Saint Kitts and Nevis",
"Saint Lucia",
"Saint Martin (French part)",
"Saint Pierre and Miquelon",
"Saint Vincent and the Grenadines",
"Samoa",
"San Marino",
"Sao Tome and Principe",
"Saudi Arabia",
"Senegal",
"Serbia",
"Seychelles",
"Sierra Leone",
"Singapore",
"Sint Maarten (Dutch part)",
"Slovakia",
"Slovenia",
"Solomon Islands",
"Somalia",
"South Africa",
"South Georgia and the South Sandwich Islands",
"South Sudan",
"Spain",
"Sri Lanka",
"Sudan (the)",
"Suriname",
"Svalbard and Jan Mayen",
"Sweden",
"Switzerland",
"Syrian Arab Republic",
"Taiwan (Province of China)",
"Tajikistan",
"Tanzania, United Republic of",
"Thailand",
"Timor-Leste",
"Togo",
"Tokelau",
"Tonga",
"Trinidad and Tobago",
"Tunisia",
"Turkey",
"Turkmenistan",
"Turks and Caicos Islands (the)",
"Tuvalu",
"Uganda",
"Ukraine",
"United Arab Emirates (the)",
"United Kingdom of Great Britain and Northern Ireland (the)",
"United States Minor Outlying Islands (the)",
"United States of America (the)",
"Uruguay",
"Uzbekistan",
"Vanuatu",
"Venezuela (Bolivarian Republic of)",
"Viet Nam",
"Virgin Islands (British)",
"Virgin Islands (U.S.)",
"Wallis and Futuna",
"Western Sahara",
"Yemen",
"Zambia",
"Zimbabwe",
"Åland Islands"
],
"description": "按所选 ISO 3166-1 两字母国家代码请求区域结果,例如 US(美国)、GB(英国)或 DE(德国)。US 是预填示例,不是自动默认值;无需区域筛选时可省略。不核实创作者的居住地、国籍或每个帖子的精确位置。"
},
"maxItems": {
"type": "integer",
"title": "Maximum number of items on output",
"editor": "number",
"prefill": 1000,
"description": "整次请求输出的帖子总条数上限,不是每个链接各自的额度。预填 1000 是示例,不是自动默认值;省略上限时,服务对可获取内容不设此数量上限。当前每个关键词查询或集合链接至少请求 10 帖,但所设上限不保证返回同样条数。"
},
"sortType": {
"enum": [
"RELEVANCE",
"MOST_LIKED",
"DATE_POSTED"
],
"type": "string",
"title": "Sort Type",
"editor": "select",
"prefill": "RELEVANCE",
"enumTitles": [
"Relevance",
"Most Liked",
"Date Posted"
],
"description": "仅用于关键词搜索:RELEVANCE(相关性)、MOST_LIKED(点赞较多)或 DATE_POSTED(发布时间)。服务通常使用 RELEVANCE,表单也预填该选项。不作用于起始链接,包括搜索结果页链接,也不保证取得全平台最新或最高点赞的帖子。"
},
"dateRange": {
"enum": [
"DEFAULT",
"ALL_TIME",
"YESTERDAY",
"THIS_WEEK",
"THIS_MONTH",
"LAST_THREE_MONTHS",
"LAST_SIX_MONTHS"
],
"type": "string",
"title": "Date Range (Only works in Search)",
"editor": "select",
"prefill": "DEFAULT",
"enumTitles": [
"Default",
"All Time",
"Yesterday",
"This Week",
"This Month",
"Last Three Months",
"Last Six Months"
],
"description": "可选 TikTok 搜索范围:DEFAULT(常规筛选)、ALL_TIME(不限时间)、YESTERDAY(昨天)、THIS_WEEK(本周)、THIS_MONTH(本月)、LAST_THREE_MONTHS(最近三个月)或 LAST_SIX_MONTHS(最近六个月)。预填 DEFAULT 的具体跨度未明确。这些是平台搜索筛选,不是通用历史归档控制;不限时间不保证全部历史,时区与日期边界也不作保证。"
},
"startUrls": {
"type": "array",
"title": "Start URLs",
"editor": "stringList",
"prefill": [
"https://www.tiktok.com/@billieeilish/video/7050551461734042926",
"https://www.tiktok.com/@rabbitbrandmy/photo/7553874290735729940",
"https://www.tiktok.com/@gordonramsayofficial",
"https://www.tiktok.com/search?q=Recipes",
"https://www.tiktok.com/tag/duet",
"https://www.tiktok.com/music/original-sound-Newcastle-United-7297730198175402784",
"https://www.tiktok.com/place/New-York-22535796481546927"
],
"description": "完整 TikTok 创作者主页、标签、音乐、地点或搜索结果页链接列表。当前不支持单帖链接,每个集合页面链接至少请求 10 帖。为本次请求选用适合的集合入口;表单中的预填链接不代表其中显示的单帖链接都可使用。"
},
"customMapFunction": {
"type": "string",
"title": "Custom map function",
"editor": "javascript",
"prefill": "(object) => { return {...object} }",
"nullable": true,
"description": "可选函数,将每条返回记录转换成所需输出,不用于筛掉记录。省略可保留通常的未转换记录;预填的原样返回函数只是示例,不是必需处理步骤。",
"sectionCaption": "Advanced Options",
"sectionDescription": "The section where you can tweak your output in an advanced way."
},
"includeSearchKeywords": {
"type": "boolean",
"title": "Include Search Keywords",
"editor": "checkbox",
"description": "可选,为关键词搜索取得的帖子附上用于找到它的查询背景,服务通常关闭此项。仅增加结果背景,不发起新查询、不扩大请求,也不自动将链接采集切换为关键词搜索。"
}
},
"description": "获取可访问帖子记录的可选设置。选择可用的集合页面链接或关键词查询;虽然设置项可选,实际获取仍需有效输入。当前不支持单帖链接,每个关键词查询或集合页面链接至少请求 10 帖,但不保证有 10 条结果可获取。",
"schemaVersion": 1
}
},
"additionalProperties": false
}