diff --git a/examples/components/DocSearch.jsx b/examples/components/DocSearch.jsx index fae19dfd..f4ec0e5e 100644 --- a/examples/components/DocSearch.jsx +++ b/examples/components/DocSearch.jsx @@ -33,8 +33,8 @@ export default class DocSearch extends React.Component { componentDidMount() { const inputSelector = 'input[name="docsearch"]'; docsearch({ - appId: '3W0NHYOWPE', - apiKey: '469f5cf3d54f9b86127970f913dc0725', + appId: 'S08MJHBHFJ', + apiKey: 'f2d788a048dcc0bdc87a1d8c54bee363', indexName: 'gh_pages', inputSelector, debug: false diff --git a/scraper-config.json b/scraper-config.json index 1c8f1f2f..1a448488 100644 --- a/scraper-config.json +++ b/scraper-config.json @@ -83,7 +83,7 @@ "use_anchors": false, "selectors": { "default": { - "lvl0": ".markdown-body h1, .a-TitleBar .h3", + "lvl0": ".Doc-title h1", "lvl1": ".markdown-body h2", "lvl2": ".markdown-body h3", "lvl3": ".markdown-body h4", @@ -92,8 +92,8 @@ }, "component": { "lvl0": { - "selector": ".markdown-body h1, .a-TitleBar .h3", - "default_value": "\u6e32\u67d3\u5668\u624b\u518c" + "selector": ".Doc-title h1", + "default_value": "\u7ec4\u4ef6\u6587\u6863" }, "lvl1": ".markdown-body h2", "lvl2": ".markdown-body h3", @@ -103,8 +103,8 @@ }, "formitem": { "lvl0": { - "selector": ".markdown-body h1, .a-TitleBar .h3", - "default_value": "\u6e32\u67d3\u5668\u624b\u518c" + "selector": ".Doc-title h1", + "default_value": "\u7ec4\u4ef6\u6587\u6863" }, "lvl1": { "selector": ".markdown-body h2",