chore: tweak docs-scraper conf for docusaurus v3
no sure why it requires `js_render` since the rendered HTML are mostly the same. reference: docusaurus v2 https://github.com/DIYgod/RSSHub/actions/runs/6721109567/job/18266104251#step:5:103 docusaurus v3 https://github.com/DIYgod/RSSHub/actions/runs/6733176979/job/18301311550#step:5:103
This commit is contained in:
parent
a9becf85e0
commit
fec8aca217
|
|
@ -18,6 +18,8 @@
|
|||
"strip_chars": " .,;:#",
|
||||
"scrap_start_urls": false,
|
||||
"min_indexed_level": 1,
|
||||
"js_render": true,
|
||||
"js_wait": 3,
|
||||
"custom_settings": {
|
||||
"displayedAttributes": [
|
||||
"hierarchy_radio_lvl1",
|
||||
|
|
@ -37,20 +39,13 @@
|
|||
"content"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"hierarchy_radio_lvl1",
|
||||
"hierarchy_radio_lvl2",
|
||||
"hierarchy_radio_lvl3",
|
||||
"hierarchy_radio_lvl4",
|
||||
"hierarchy_radio_lvl5",
|
||||
"hierarchy_lvl0",
|
||||
"hierarchy_lvl1",
|
||||
"hierarchy_lvl2",
|
||||
"hierarchy_lvl3",
|
||||
"hierarchy_lvl4",
|
||||
"hierarchy_lvl5",
|
||||
"hierarchy_lvl6",
|
||||
"anchor",
|
||||
"content"
|
||||
"content",
|
||||
"hierarchy_lvl5",
|
||||
"hierarchy_lvl1"
|
||||
],
|
||||
"sortableAttributes": ["anchor"]
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue