From caa107f01130a9284ec17684bcf7f85cc432968c 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 cdec907d8..d4bb10940 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