From 704ad5060773e5109152d48f078f2ad3b4f5a00e Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Mon, 15 Oct 2018 18:25:04 +0200 Subject: [PATCH] [DealabsBridge] Follow website changes (#852) Pepper changed the CSS class of some elements. The bridge was changed to follow these changes. --- bridges/DealabsBridge.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/bridges/DealabsBridge.php b/bridges/DealabsBridge.php index 4fb9c83d..b9b05ed9 100644 --- a/bridges/DealabsBridge.php +++ b/bridges/DealabsBridge.php @@ -1120,10 +1120,8 @@ class PepperBridgeAbstract extends BridgeAbstract { $selectorHot = implode( ' ', /* Notice this is a space! */ array( - 'flex', - 'flex--align-c', - 'flex--justify-space-between', - 'space--b-2', + 'cept-vote-box', + 'vote-box' ) ); @@ -1142,8 +1140,7 @@ class PepperBridgeAbstract extends BridgeAbstract { array( 'size--all-s', 'flex', - 'flex--justify-e', - 'flex--grow-1', + 'boxAlign-jc--all-fe' ) ); @@ -1175,7 +1172,8 @@ class PepperBridgeAbstract extends BridgeAbstract { . $this->GetSource($deal) . $deal->find('div[class*='. $selectorDescription .']', 0)->innertext . '' - . $deal->find('div[class='. $selectorHot .']', 0)->children(0)->outertext + . $deal->find('div[class*='. $selectorHot .']', 0) + ->find('span', 1)->outertext . ''; $dealDateDiv = $deal->find('div[class*='. $selectorDate .']', 0) ->find('span[class=hide--toW3]');