on master help sign in
[enh] Add Pagination to Wiby / Fix Kaufland (#3000)
b0888c6Allen
searx/plugins/tracker_url_remover.py+1−1
@@ -21,7 +21,7 @@ from urllib.parse import urlunparse, parse_qsl, urlencode
21
21
22regexes = {re.compile(r'utm_[^&]+'),
22regexes = {re.compile(r'utm_[^&]+'),
23 re.compile(r'(wkey|wemail)[^&]*'),
23 re.compile(r'(wkey|wemail)[^&]*'),
24− re.compile(r'(_hsenc|_hsmi|hsCtaTracking|__hssc|__hstc|__hsfp)[^&]*'),
24+ re.compile(r'(_hsenc|_hsmi|hsCtaTracking|__hssc|__hstc|__hsfp|search_value)[^&]*'),
25 re.compile(r'&$')}
25 re.compile(r'&$')}
26
26
27name = gettext('Tracker URL remover')
27name = gettext('Tracker URL remover')
searx/settings.yml+4−3
@@ -1231,7 +1231,8 @@ engines:
1231
1231
1232 - name : wiby
1232 - name : wiby
1233 engine : json_engine
1233 engine : json_engine
1234+ paging : True
1234− search_url : https://wiby.me/json/?q={query}
1235+ search_url : https://wiby.me/json/?q={query}&o={pageno}0
1235 url_query : URL
1236 url_query : URL
1236 title_query : Title
1237 title_query : Title
1237 content_query : Snippet
1238 content_query : Snippet
@@ -1533,8 +1534,8 @@ engines:
1533 timeout : 3.0
1534 timeout : 3.0
1534 paging : True
1535 paging : True
1535 search_url : https://www.kaufland.de/item/search/?search_value={query}&page={pageno}
1536 search_url : https://www.kaufland.de/item/search/?search_value={query}&page={pageno}
1536− title_xpath : //li[@class="product__title"]
1537+ title_xpath : //div[@class="product__title"]/text()
1537− url_xpath : //div[@class="product"]//a/@href
1538+ url_xpath : //article[@class="product"]//a/@href
1538 content_xpath : //div[@class="price"]
1539 content_xpath : //div[@class="price"]
1539 #thumbnail_xpath : '//div[@class="product__image-container"]//img/@data-src'
1540 #thumbnail_xpath : '//div[@class="product__image-container"]//img/@data-src'
1540 categories : general
1541 categories : general