mirror of https://github.com/searx/searx
[mod] Fix Libgen + Uncomment Ebay and Urbandictiorany (#2986)
- Change Libgen provider and use https by default. - Umcomment Urbandictionary but disable it by default, it is working. - Uncomment Ebay as it is working correctly. (For ebay in the future: base_url should be changed from settings.yml just like peertube or invidious)
This commit is contained in:
parent
c45c87f293
commit
d91f1ede61
|
@ -434,11 +434,11 @@ engines:
|
||||||
require_api_key: false
|
require_api_key: false
|
||||||
results: HTML
|
results: HTML
|
||||||
|
|
||||||
# - name : ebay
|
- name : ebay
|
||||||
# engine : ebay
|
engine : ebay
|
||||||
# shortcut : eb
|
shortcut : eb
|
||||||
# disabled : True
|
disabled : True
|
||||||
# timeout: 5
|
timeout: 5
|
||||||
|
|
||||||
- name : 1x
|
- name : 1x
|
||||||
engine : www1x
|
engine : www1x
|
||||||
|
@ -730,9 +730,8 @@ engines:
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
paging : True
|
||||||
page_size : 25
|
page_size : 25
|
||||||
enable_http: True
|
search_url : https://libgen.rs/search.php?req={query}&page={pageno}
|
||||||
search_url : http://libgen.rs/search.php?req={query}&page={pageno}
|
url_xpath : //a[contains(@href,"library.lol/main")]/@href
|
||||||
url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
|
|
||||||
title_xpath : //a[contains(@href,"book/")]/text()[1]
|
title_xpath : //a[contains(@href,"book/")]/text()[1]
|
||||||
content_xpath : //td/a[1][contains(@href,"=author")]/text()
|
content_xpath : //td/a[1][contains(@href,"=author")]/text()
|
||||||
categories : general, files
|
categories : general, files
|
||||||
|
@ -1182,14 +1181,15 @@ engines:
|
||||||
# base_url : https://uncyclopedia.wikia.com/
|
# base_url : https://uncyclopedia.wikia.com/
|
||||||
# number_of_results : 5
|
# number_of_results : 5
|
||||||
|
|
||||||
# tmp suspended - too slow, too many errors
|
|
||||||
# - name : urbandictionary
|
- name : urbandictionary
|
||||||
# engine : xpath
|
engine : xpath
|
||||||
# search_url : https://www.urbandictionary.com/define.php?term={query}
|
search_url : https://www.urbandictionary.com/define.php?term={query}
|
||||||
# url_xpath : //*[@class="word"]/@href
|
url_xpath : //*[@class="word"]/@href
|
||||||
# title_xpath : //*[@class="def-header"]
|
title_xpath : //*[@class="def-header"]
|
||||||
# content_xpath : //*[@class="meaning"]
|
content_xpath : //*[@class="meaning"]
|
||||||
# shortcut : ud
|
shortcut : ud
|
||||||
|
disabled : True
|
||||||
|
|
||||||
- name : unsplash
|
- name : unsplash
|
||||||
engine : unsplash
|
engine : unsplash
|
||||||
|
|
Loading…
Reference in New Issue