查看原始 JSON
{
"type": "object",
"required": [],
"properties": {
"body": {
"type": "object",
"title": "Google News Scraper",
"required": [],
"properties": {
"topics": {
"type": "array",
"items": {
"enum": [
"WORLD",
"NATION",
"BUSINESS",
"TECHNOLOGY",
"ENTERTAINMENT",
"SPORTS",
"SCIENCE",
"HEALTH"
],
"type": "string",
"enumTitles": [
"🌍 World",
"🏛️ Nation",
"💼 Business",
"💻 Technology",
"🎬 Entertainment",
"⚽ Sports",
"🔬 Science",
"🏥 Health"
]
},
"title": "News Topics",
"editor": "select",
"default": [],
"description": "可选预设 Google News 主题列表,默认空列表。可从八种主题中选择,并与关键词搜索或自定义版块链接组合。主题页面返回其精选新闻。",
"sectionCaption": "📰 Topic News",
"sectionDescription": "Scrape Google News by predefined topics or custom section/topic URLs. You can combine both with keyword search."
},
"keywords": {
"type": "array",
"title": "Search Keywords",
"editor": "stringList",
"default": [],
"prefill": [
"bitcoin"
],
"maxItems": 50,
"minItems": 0,
"description": "可选,最多 50 个不重复的关键词字符串,默认空列表。预填的 bitcoin(比特币)只是示例。关键词内可用 - 排除词语、site: 限定网站、OR 表示多个备选词,或用引号指定词组。",
"uniqueItems": true,
"sectionCaption": "🔍 Keyword Search",
"sectionDescription": "Search Google News by keywords. Leave empty if you only want to scrape by topics."
},
"timeframe": {
"enum": [
"1h",
"1d",
"7d",
"30d",
"1y",
"all"
],
"type": "string",
"title": "Time Period (Only for keywords)",
"default": "1h",
"enumTitles": [
"Last hour",
"Last day",
"Last week",
"Last month",
"Last year",
"Anytime"
],
"description": "可选时间范围,主要作用于关键词搜索。默认 1h(近 1 小时);还可选择 1d(近 1 天)、7d(近 7 天)、30d(近 30 天)、1y(近 1 年)及 all(不限时间范围)。主题页面返回其精选结果,不对每条新闻统一应用该范围。"
},
"topicUrls": {
"type": "array",
"title": "Custom Topic / Section URLs",
"editor": "stringList",
"default": [],
"maxItems": 20,
"minItems": 0,
"description": "可选,最多 20 个不重复的 Google News 主题或版块链接,默认空列表,用于自定义或细分新闻版块,不能填写发布方的单篇文章链接。可与关键词及预设主题组合。",
"uniqueItems": true
},
"decodeUrls": {
"type": "boolean",
"title": "Decode Google News URLs",
"default": false,
"description": "可选,默认 false。开启后尝试逐条解析 Google News 跳转链接,取得发布方原文链接,会增加处理工作并减慢采集。不保证每条新闻都能解析成功。"
},
"maxArticles": {
"type": "integer",
"unit": "news",
"title": "Maximum News",
"default": 100,
"minimum": 0,
"description": "可选整数,针对每个关键词、预设主题或自定义主题链接分别设定数量上限,默认 100,最小值 0。0 取消单个来源的数量上限,采集仍受来源可用情况及处理限制影响。组合来源后的总条数可能超过该值,不保证返回相应条数或完整覆盖。",
"sectionCaption": "⚙️ Settings & Options",
"sectionDescription": "General settings and advanced options applied to both keyword search and topic scraping."
},
"extractImages": {
"type": "boolean",
"title": "Extract Article Images",
"default": true,
"description": "可选,默认 true。缺少图片地址时,可从发布方页面补充图片地址,主要用于主题结果。false 跳过图片提取或补充,但来源记录仍可能带有图片地址;这些地址不是已下载的图片文件。"
},
"region_language": {
"enum": [
"US:en",
"SK:sk",
"AU:en",
"BW:en",
"CA:en",
"ET:en",
"GH:en",
"IN:en",
"ID:en",
"IE:en",
"IL:en",
"KE:en",
"LV:en",
"MY:en",
"NA:en",
"NZ:en",
"NG:en",
"PK:en",
"PH:en",
"SG:en",
"ZA:en",
"TZ:en",
"UG:en",
"GB:en",
"ZW:en",
"ID:id",
"CZ:cs",
"DE:de",
"AT:de",
"CH:de",
"AR:es-419",
"CL:es-419",
"CO:es-419",
"CU:es-419",
"ES:es",
"US:es-419",
"MX:es-419",
"PE:es-419",
"VE:es-419",
"BE:fr",
"CA:fr",
"FR:fr",
"MA:fr",
"SN:fr",
"CH:fr",
"IT:it",
"LV:lv",
"LT:lt",
"HU:hu",
"BE:nl",
"NL:nl",
"NO:no",
"PL:pl",
"BR:pt-419",
"PT:pt-150",
"RO:ro",
"SI:sl",
"SE:sv",
"VN:vi",
"TR:tr",
"GR:el",
"BG:bg",
"RU:ru",
"UA:ru",
"RS:sr",
"UA:uk",
"IL:he",
"AE:ar",
"SA:ar",
"LB:ar",
"EG:ar",
"IN:mr",
"IN:hi",
"BD:bn",
"IN:bn",
"IN:ta",
"IN:te",
"IN:ml",
"TH:th",
"CN:zh-Hans",
"TW:zh-Hant",
"HK:zh-Hant",
"JP:ja",
"KR:ko"
],
"type": "string",
"title": "Region and Language",
"editor": "select",
"default": "US:en",
"enumTitles": [
"United States (English)",
"Slovakia (Slovak)",
"Australia (English)",
"Botswana (English)",
"Canada (English)",
"Ethiopia (English)",
"Ghana (English)",
"India (English)",
"Indonesia (English)",
"Ireland (English)",
"Israel (English)",
"Kenya (English)",
"Latvia (English)",
"Malaysia (English)",
"Namibia (English)",
"New Zealand (English)",
"Nigeria (English)",
"Pakistan (English)",
"Philippines (English)",
"Singapore (English)",
"South Africa (English)",
"Tanzania (English)",
"Uganda (English)",
"United Kingdom (English)",
"Zimbabwe (English)",
"Indonesia (Indonesian)",
"Czech Republic (Czech)",
"Germany (German)",
"Austria (German)",
"Switzerland (German)",
"Argentina (Spanish)",
"Chile (Spanish)",
"Colombia (Spanish)",
"Cuba (Spanish)",
"Spain (Spanish)",
"United States (Spanish)",
"Mexico (Spanish)",
"Peru (Spanish)",
"Venezuela (Spanish)",
"Belgium (French)",
"Canada (French)",
"France (French)",
"Morocco (French)",
"Senegal (French)",
"Switzerland (French)",
"Italy (Italian)",
"Latvia (Latvian)",
"Lithuania (Lithuanian)",
"Hungary (Hungarian)",
"Belgium (Dutch)",
"Netherlands (Dutch)",
"Norway (Norwegian)",
"Poland (Polish)",
"Brazil (Portuguese)",
"Portugal (Portuguese)",
"Romania (Romanian)",
"Slovenia (Slovenian)",
"Sweden (Swedish)",
"Vietnam (Vietnamese)",
"Turkey (Turkish)",
"Greece (Greek)",
"Bulgaria (Bulgarian)",
"Russia (Russian)",
"Ukraine (Russian)",
"Serbia (Serbian)",
"Ukraine (Ukrainian)",
"Israel (Hebrew)",
"United Arab Emirates (Arabic)",
"Saudi Arabia (Arabic)",
"Lebanon (Arabic)",
"Egypt (Arabic)",
"India (Marathi)",
"India (Hindi)",
"Bangladesh (Bengali)",
"India (Bengali)",
"India (Tamil)",
"India (Telugu)",
"India (Malayalam)",
"Thailand (Thai)",
"China (Simplified Chinese)",
"Taiwan (Traditional Chinese)",
"Hong Kong (Traditional Chinese)",
"Japan (Japanese)",
"Korea (Korean)"
],
"description": "可选,从支持的地区与语言版本中选择,默认 US:en(美国英语版);例如 GB:en(英国英语版)、FR:fr(法国法语版)及 CN:zh-Hans(中国简体中文版)。它不翻译文章,也不保证媒体位于所选地区。"
},
"proxyConfiguration": {
"type": "object",
"title": "Proxy Configuration",
"editor": "proxy",
"default": {
"useApifyProxy": true
},
"prefill": {
"useApifyProxy": true
},
"description": "可选来源代理设置,默认启用 Apify Proxy。本例不另行设置。",
"sectionCaption": "🌐 Proxy"
},
"extractDescriptions": {
"type": "boolean",
"title": "Extract Article Descriptions",
"default": false,
"description": "可选,默认 false。开启后获取发布方的网页元描述,会增加处理工作并减慢采集。该简短描述不是文章全文、付费内容访问或独立事实核查。"
}
},
"schemaVersion": 1,
"additionalProperties": false
}
},
"additionalProperties": false
}