From 00e716d84d270c4f96063e8e7150d51e80a150f8 Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Thu, 20 Apr 2023 11:22:53 +0200 Subject: [PATCH] [PepperBridgeAbstract] Fix "no results" check (#3357) CSS class for "no results" text has changed, so the bridge has been updated accordingly. --- bridges/PepperBridgeAbstract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/PepperBridgeAbstract.php b/bridges/PepperBridgeAbstract.php index 9f7aed51..4ecd4c43 100644 --- a/bridges/PepperBridgeAbstract.php +++ b/bridges/PepperBridgeAbstract.php @@ -94,7 +94,7 @@ class PepperBridgeAbstract extends BridgeAbstract ); // If there is no results, we don't parse the content because it display some random deals - $noresult = $html->find('h3[class=size--all-l size--fromW2-xl size--fromW3-xxl]', 0); + $noresult = $html->find('h3[class=size--all-l]', 0); if ($noresult != null && strpos($noresult->plaintext, $this->i8n('no-results')) !== false) { $this->items = []; } else {