[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:
Bnyro
2026-06-22 10:04:49 +02:00
parent cce0957f54
commit 4cc32b2457
+2 -4
View File
@@ -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