mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
[FindACrewBridge] Fix bridge (#2541)
This commit is contained in:
parent
91b8e4196e
commit
87533222c7
@ -62,11 +62,11 @@ class FindACrewBridge extends BridgeAbstract {
|
|||||||
foreach ($annonces as $annonce) {
|
foreach ($annonces as $annonce) {
|
||||||
$item = array();
|
$item = array();
|
||||||
|
|
||||||
$link = parent::getURI() . $annonce->find('.lst-ctrls a', 0)->href;
|
$link = parent::getURI() . $annonce->find('.lstsum-btn-con a', 0)->href;
|
||||||
$htmlDetail = getSimpleHTMLDOMCached($link . '?mdl=2'); // add ?mdl=2 for xhr content not full html page
|
$htmlDetail = getSimpleHTMLDOMCached($link . '?mdl=2'); // add ?mdl=2 for xhr content not full html page
|
||||||
|
|
||||||
$img = parent::getURI() . $htmlDetail->find('img.img-responsive', 0)->getAttribute('src');
|
$img = parent::getURI() . $htmlDetail->find('img.img-responsive', 0)->getAttribute('src');
|
||||||
$item['title'] = $annonce->find('.lst-tags span', 0)->plaintext;
|
$item['title'] = $htmlDetail->find('div.label-account', 0)->plaintext;
|
||||||
$item['uri'] = $link;
|
$item['uri'] = $link;
|
||||||
$content = $htmlDetail->find('.panel-body div.clearfix.row > div', 1)->innertext;
|
$content = $htmlDetail->find('.panel-body div.clearfix.row > div', 1)->innertext;
|
||||||
$content .= $htmlDetail->find('.panel-body > div', 1)->innertext;
|
$content .= $htmlDetail->find('.panel-body > div', 1)->innertext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user