1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-09 11:15:50 +02:00

[PepperBridgeAbstract] Fix "no results" check (#3357)

CSS class for "no results" text has changed, so the bridge has been
updated accordingly.
This commit is contained in:
sysadminstory
2023-04-20 11:22:53 +02:00
committed by GitHub
parent f0c96008bc
commit 00e716d84d

View File

@ -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 // 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) { if ($noresult != null && strpos($noresult->plaintext, $this->i8n('no-results')) !== false) {
$this->items = []; $this->items = [];
} else { } else {