From c8993995695d242bd3540bf8ee940e7e0742eea5 Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Fri, 6 Apr 2018 21:25:41 +0200 Subject: [PATCH] [DealabsBridge] Follow the website changes (#660) --- bridges/DealabsBridge.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bridges/DealabsBridge.php b/bridges/DealabsBridge.php index d2cab2f..76848d9 100644 --- a/bridges/DealabsBridge.php +++ b/bridges/DealabsBridge.php @@ -160,9 +160,6 @@ class DealabsBridge extends BridgeAbstract { 'cept-tt', 'thread-link', 'linkPlain', - 'space--r-1', - 'size--all-s', - 'size--fromW3-m', ) ); @@ -208,7 +205,7 @@ class DealabsBridge extends BridgeAbstract { foreach($list as $deal) { $item = array(); $item['uri'] = $deal->find('div[class=threadGrid-title]', 0)->find('a', 0)->href; - $item['title'] = $deal->find('a[class='. $selectorLink .']', 0 + $item['title'] = $deal->find('a[class*='. $selectorLink .']', 0 )->plaintext; $item['author'] = $deal->find('span.thread-username', 0)->plaintext; $item['content'] = '

' - . $deal->find('a[class='. $selectorLink .']', 0)->innertext + . $deal->find('a[class*='. $selectorLink .']', 0)->innertext . '

' . $this->getPrix($deal) . $this->getReduction($deal)