amis2/scraper-config.json
2019-06-05 09:42:37 +08:00

110 lines
2.7 KiB
JSON

{
"index_name": "gh_pages",
"start_urls": [
"https://baidu.github.io/amis/docs/getting-started",
"https://baidu.github.io/amis/docs/advanced",
{
"url": "https://baidu.github.io/amis/docs/renderers/Form/(?P<formItem>.*?)$",
"selectors_key": "formitem",
"variables": {
"formItem": [
"Array",
"Button-Group",
"Button-Toolbar",
"Button",
"Chained-Select",
"Checkbox",
"Checkboxes",
"City",
"Color",
"Combo",
"Date-Range",
"Date",
"Datetime",
"Editor",
"Email",
"FieldSet",
"File",
"Form",
"FormItem",
"Formula",
"Grid",
"Group",
"HBox",
"Hidden",
"Image",
"List",
"Matrix",
"NestedSelect",
"Number",
"Panel",
"Password",
"Picker",
"Radios",
"Range",
"Repeat",
"Rich-Text",
"Select",
"Service",
"SubForm",
"Switch",
"Table",
"Tabs",
"Text",
"Textarea",
"Time",
"Tree",
"TreeSelect",
"Url"
]
}
},
{
"url": "https://baidu.github.io/amis/docs/renderers",
"selectors_key": "renderer"
},
"https://baidu.github.io/amis/docs/sdk",
"https://baidu.github.io/amis/docs/dev",
"https://baidu.github.io/amis/docs/style"
],
"js_render": true,
"js_wait": 1,
"use_anchors": false,
"selectors": {
"default": {
"lvl0": ".markdown-body h1, .a-TitleBar .h3",
"lvl1": ".markdown-body h2",
"lvl2": ".markdown-body h3",
"lvl3": ".markdown-body h4",
"lvl4": ".markdown-body h5",
"text": ".markdown-body p, .markdown-body li"
},
"renderer": {
"lvl0": {
"selector": ".markdown-body h1, .a-TitleBar .h3",
"default_value": "\u6e32\u67d3\u5668\u624b\u518c"
},
"lvl1": ".markdown-body h2",
"lvl2": ".markdown-body h3",
"lvl3": ".markdown-body h4",
"lvl4": ".markdown-body h5",
"text": ".markdown-body p, .markdown-body li"
},
"formitem": {
"lvl0": {
"selector": ".markdown-body h1, .a-TitleBar .h3",
"default_value": "\u6e32\u67d3\u5668\u624b\u518c"
},
"lvl1": {
"selector": ".markdown-body h2",
"default_value": "Form"
},
"lvl2": ".markdown-body h3",
"lvl3": ".markdown-body h4",
"lvl4": ".markdown-body h5",
"text": ".markdown-body p, .markdown-body li"
}
},
"min_indexed_level": 0,
"nb_hits": 1174
}