[DealabsBridge] Follow the website changes (#660)
This commit is contained in:
parent
0f93370e92
commit
c899399569
1 changed files with 3 additions and 6 deletions
|
@ -160,9 +160,6 @@ class DealabsBridge extends BridgeAbstract {
|
||||||
'cept-tt',
|
'cept-tt',
|
||||||
'thread-link',
|
'thread-link',
|
||||||
'linkPlain',
|
'linkPlain',
|
||||||
'space--r-1',
|
|
||||||
'size--all-s',
|
|
||||||
'size--fromW3-m',
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -208,7 +205,7 @@ class DealabsBridge extends BridgeAbstract {
|
||||||
foreach($list as $deal) {
|
foreach($list as $deal) {
|
||||||
$item = array();
|
$item = array();
|
||||||
$item['uri'] = $deal->find('div[class=threadGrid-title]', 0)->find('a', 0)->href;
|
$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;
|
)->plaintext;
|
||||||
$item['author'] = $deal->find('span.thread-username', 0)->plaintext;
|
$item['author'] = $deal->find('span.thread-username', 0)->plaintext;
|
||||||
$item['content'] = '<table><tr><td><a href="'
|
$item['content'] = '<table><tr><td><a href="'
|
||||||
|
@ -217,9 +214,9 @@ class DealabsBridge extends BridgeAbstract {
|
||||||
. '"><img src="'
|
. '"><img src="'
|
||||||
. $this->getImage($deal)
|
. $this->getImage($deal)
|
||||||
. '"/></td><td><h2><a href="'
|
. '"/></td><td><h2><a href="'
|
||||||
. $deal->find('a[class='. $selectorLink .']', 0)->href
|
. $deal->find('a[class*='. $selectorLink .']', 0)->href
|
||||||
. '">'
|
. '">'
|
||||||
. $deal->find('a[class='. $selectorLink .']', 0)->innertext
|
. $deal->find('a[class*='. $selectorLink .']', 0)->innertext
|
||||||
. '</a></h2>'
|
. '</a></h2>'
|
||||||
. $this->getPrix($deal)
|
. $this->getPrix($deal)
|
||||||
. $this->getReduction($deal)
|
. $this->getReduction($deal)
|
||||||
|
|
Loading…
Reference in a new issue