mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +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(
|
$selectorHot = implode(
|
||||||
' ', /* Notice this is a space! */
|
' ', /* Notice this is a space! */
|
||||||
array(
|
array(
|
||||||
'flex',
|
'cept-vote-box',
|
||||||
'flex--align-c',
|
'vote-box'
|
||||||
'flex--justify-space-between',
|
|
||||||
'space--b-2',
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1142,8 +1140,7 @@ class PepperBridgeAbstract extends BridgeAbstract {
|
||||||
array(
|
array(
|
||||||
'size--all-s',
|
'size--all-s',
|
||||||
'flex',
|
'flex',
|
||||||
'flex--justify-e',
|
'boxAlign-jc--all-fe'
|
||||||
'flex--grow-1',
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1175,7 +1172,8 @@ class PepperBridgeAbstract extends BridgeAbstract {
|
||||||
. $this->GetSource($deal)
|
. $this->GetSource($deal)
|
||||||
. $deal->find('div[class*='. $selectorDescription .']', 0)->innertext
|
. $deal->find('div[class*='. $selectorDescription .']', 0)->innertext
|
||||||
. '</td><td>'
|
. '</td><td>'
|
||||||
. $deal->find('div[class='. $selectorHot .']', 0)->children(0)->outertext
|
. $deal->find('div[class*='. $selectorHot .']', 0)
|
||||||
|
->find('span', 1)->outertext
|
||||||
. '</td></table>';
|
. '</td></table>';
|
||||||
$dealDateDiv = $deal->find('div[class*='. $selectorDate .']', 0)
|
$dealDateDiv = $deal->find('div[class*='. $selectorDate .']', 0)
|
||||||
->find('span[class=hide--toW3]');
|
->find('span[class=hide--toW3]');
|
||||||
|
|
Loading…
Reference in a new issue