mirror of
https://github.com/searxng/searxng.git
synced 2026-06-22 17:48:33 +02:00
[fix] kozmonavt: remove pagination and set to inactive by default
Pagination requires a different nextpage query parameter each day as it seems, so it's not possible to implement this in the Xpath engine.
This commit is contained in:
+2
-4
@@ -1424,12 +1424,10 @@ engines:
|
|||||||
|
|
||||||
- name: kozmonavt
|
- name: kozmonavt
|
||||||
engine: xpath
|
engine: xpath
|
||||||
paging: true
|
search_url: https://kozmonavt.su/s?q={query}
|
||||||
# pageno query param key is U+1D5D1 (looks like an "x")
|
|
||||||
search_url: https://kozmonavt.su/s?q={query}&%F0%9D%97%91={pageno}
|
|
||||||
shortcut: koz
|
shortcut: koz
|
||||||
disabled: true
|
disabled: true
|
||||||
# inactive: true
|
inactive: true
|
||||||
results_xpath: //div[contains(@class, 'list')]/section
|
results_xpath: //div[contains(@class, 'list')]/section
|
||||||
url_xpath: concat('https://', substring-after(.//a/@href, '?q='))
|
url_xpath: concat('https://', substring-after(.//a/@href, '?q='))
|
||||||
title_xpath: .//a
|
title_xpath: .//a
|
||||||
|
|||||||
Reference in New Issue
Block a user