mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 02:46:15 +03: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:
parent
f0c96008bc
commit
00e716d84d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue