hotspot/json/hotspot_source.json
yumoqing 42dff9e77d feat: real extraction engine — pluggable parsers + 11 builtin platforms
- Add parser_config TEXT field to hotspot_source (JSON: parser/item_path/field_map/builtin_name)
- Pluggable extractors: json_path, css, regex, rss, builtin
- 11 builtin platform parsers with real API endpoints:
  weibo_hot zhihu_hot baidu_hot toutiao_hot bilibili_hot douyin_hot
  36kr_hot github_trending hackernews v2ex_hot rsshub
- Each source reads its own parser_config — different sources can use
  different extraction rules even if same type
- Updated index.ui with builtin parser reference
2026-08-01 12:09:13 +08:00

17 lines
539 B
JSON

{
"models_dir": "${HOME}$/py/sage/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/hotspot_source",
"dbname": "sage",
"tblname": "hotspot_source",
"title": "热点来源",
"params": {
"sortby": "priority asc",
"browserfields": {
"exclouded": ["id", "api_secret", "headers", "request_body", "crawler_rules", "parser_config"],
"cwidth": {"name": 150, "url": 300}
},
"editexclouded": ["id", "created_at", "last_fetch"],
"record_toolbar": null
}
}