mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-23 01:55:27 +03:00
[DealabsBridge] Follow website changes (#852)
Pepper changed the CSS class of some elements. The bridge was changed to follow these changes.
This commit is contained in:
parent
d89c65d219
commit
704ad50607
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
. '</td><td>'
|
||||
. $deal->find('div[class='. $selectorHot .']', 0)->children(0)->outertext
|
||||
. $deal->find('div[class*='. $selectorHot .']', 0)
|
||||
->find('span', 1)->outertext
|
||||
. '</td></table>';
|
||||
$dealDateDiv = $deal->find('div[class*='. $selectorDate .']', 0)
|
||||
->find('span[class=hide--toW3]');
|
||||
|
|
Loading…
Reference in a new issue