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
|
||||
engine: xpath
|
||||
paging: true
|
||||
# pageno query param key is U+1D5D1 (looks like an "x")
|
||||
search_url: https://kozmonavt.su/s?q={query}&%F0%9D%97%91={pageno}
|
||||
search_url: https://kozmonavt.su/s?q={query}
|
||||
shortcut: koz
|
||||
disabled: true
|
||||
# inactive: true
|
||||
inactive: true
|
||||
results_xpath: //div[contains(@class, 'list')]/section
|
||||
url_xpath: concat('https://', substring-after(.//a/@href, '?q='))
|
||||
title_xpath: .//a
|
||||
|
||||
Reference in New Issue
Block a user