From 1b08bce77911af2469ea0ed1a21170cca4d9ba76 Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Thu, 21 Jun 2018 14:14:59 +0200 Subject: [PATCH] [DealabsBridge] Follow site changes (#721) - Changed some CSS class to follow the website changes (again) --- bridges/DealabsBridge.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bridges/DealabsBridge.php b/bridges/DealabsBridge.php index 0381d88..2876aab 100644 --- a/bridges/DealabsBridge.php +++ b/bridges/DealabsBridge.php @@ -178,10 +178,9 @@ class DealabsBridge extends BridgeAbstract { ' ', /* Notice this is a space! */ array( 'cept-description-container', - 'userHtml', 'overflow--wrap-break', 'size--all-s', - 'size--fromW3-m', + 'size--fromW3-m' ) ); @@ -191,7 +190,6 @@ class DealabsBridge extends BridgeAbstract { array( 'size--all-s', 'flex', - 'flex--wrap', 'flex--justify-e', 'flex--grow-1', ) @@ -223,11 +221,11 @@ class DealabsBridge extends BridgeAbstract { . $this->getExpedition($deal) . $this->getLivraison($deal) . $this->getOrigine($deal) - . $deal->find('div[class='. $selectorDescription .']', 0)->innertext + . $deal->find('div[class*='. $selectorDescription .']', 0)->innertext . '' . $deal->find('div[class='. $selectorHot .']', 0)->children(0)->outertext . ''; - $dealDateDiv = $deal->find('div[class='. $selectorDate .']', 0) + $dealDateDiv = $deal->find('div[class*='. $selectorDate .']', 0) ->find('span[class=hide--toW3]'); $itemDate = end($dealDateDiv)->plaintext; if(substr( $itemDate, 0, 6 ) === 'il y a') {