From 0b171ddf626dac501b2d9bf4a80e79613c874918 Mon Sep 17 00:00:00 2001 From: s-pace Date: Mon, 17 Dec 2018 16:23:10 +0100 Subject: [PATCH] update vuex --- configs/vuex.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 configs/vuex.json diff --git a/configs/vuex.json b/configs/vuex.json new file mode 100644 index 000000000..d4401b0d4 --- /dev/null +++ b/configs/vuex.json @@ -0,0 +1,37 @@ +{ + "index_name": "vuex", + "start_urls": [ + "https://vuex.vuejs.org/" + ], + "stop_urls": [], + "selectors": { + "lvl0": { + "selector": "p.sidebar-heading.open", + "global": true, + "default_value": "Documentation" + }, + "lvl1": ".content h1", + "lvl2": ".content h2", + "lvl3": ".content h3", + "lvl4": ".content h4, .content table td:first-child", + "lvl5": ".content h5", + "text": ".content p, .content li, .content table td:last-child", + "lang": { + "selector": "/html/@lang", + "type": "xpath", + "global": true, + "default_value": "en-US" + } + }, + "strip_chars": " .,;:#", + "custom_settings": { + "attributesForFaceting": [ + "lang" + ] + }, + "conversation_id": [ + "734084375" + ], + "scrap_start_urls": false, + "nb_hits": 2486 +} \ No newline at end of file