[DealabsBridge] Follow website change (#1256)

A minor website change broke the Bridge. This commit fix it
This commit is contained in:
sysadminstory 2019-08-26 14:25:47 +02:00 committed by Lyra
parent a86a94555d
commit f3c687604f

View file

@ -1145,7 +1145,7 @@ class PepperBridgeAbstract extends BridgeAbstract {
} else {
foreach ($list as $deal) {
$item = array();
$item['uri'] = $deal->find('div[class=threadGrid-title]', 0)->find('a', 0)->href;
$item['uri'] = $deal->find('div[class*=threadGrid-title]', 0)->find('a', 0)->href;
$item['title'] = $deal->find('a[class*=' . $selectorLink . ']', 0
)->plaintext;
$item['author'] = $deal->find('span.thread-username', 0)->plaintext;