From cf734e60081b99a52c6a46b162313fa089bfe9c2 Mon Sep 17 00:00:00 2001 From: Justas Zabulionis <38244149+jazzzooo@users.noreply.github.com> Date: Thu, 14 Sep 2023 03:49:56 -0700 Subject: [PATCH] [fix] engine - pub.dev --- searx/settings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 028a9fe2f..281e69625 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1214,10 +1214,10 @@ engines: shortcut: pd search_url: https://pub.dev/packages?q={query}&page={pageno} paging: true - results_xpath: /html/body/main/div/div[@class="search-results"]/div[@class="packages"]/div + results_xpath: //div[contains(@class,"packages-item")] url_xpath: ./div/h3/a/@href title_xpath: ./div/h3/a - content_xpath: ./p[@class="packages-description"] + content_xpath: ./div/div/div[contains(@class,"packages-description")]/span categories: [packages, it] timeout: 3.0 disabled: true