Merge pull request #197 from return42/woxikon

Add woxikon.de synonyme (Xpath)
This commit is contained in:
Markus Heiser 2021-07-03 20:31:46 +00:00 committed by GitHub
commit 373259e9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1384,7 +1384,8 @@ engines:
engine: json_engine
paging: true
# This API Token is needed to work
search_url: https://search.whaleslide.com/api/v1/search_v2/web/{pageno}?q={query}&api_token=f8OhUDEYKUICHDnIxEgI7Cb4uYyTBqT4nO8iueNbfTO3devS24yElGqM7nCm
search_url:
https://search.whaleslide.com/api/v1/search_v2/web/{pageno}?q={query}&api_token=f8OhUDEYKUICHDnIxEgI7Cb4uYyTBqT4nO8iueNbfTO3devS24yElGqM7nCm
url_query: url
title_query: title
title_html_to_text: true
@ -1394,7 +1395,7 @@ engines:
disabled: true
about:
website: https://whaleslide.com/
wikidata_id: # No Wikidata page
wikidata_id: # No Wikidata page
official_api_documentation: false
use_official_api: false
require_api_key: false
@ -1477,6 +1478,23 @@ engines:
timeout: 5.0
disabled: true
- name: woxikon.de synonyme
engine: xpath
shortcut: woxi
categories: general
timeout: 5.0
disabled: true
search_url: https://synonyme.woxikon.de/synonyme/{query}.php
url_xpath: //div[@class="upper-synonyms"]/a/@href
content_xpath: //div[@class="synonyms-list-group"]
title_xpath: //div[@class="upper-synonyms"]/a
about:
website: https://www.woxikon.de/
wikidata_id: # No Wikidata ID
use_official_api: false
require_api_key: false
results: HTML
- name: słownik języka polskiego
engine: sjp
shortcut: sjp