Skip to content

Commit

Permalink
[FindACrew] Update bridge according new findacrew.net website (RSS-Br…
Browse files Browse the repository at this point in the history
…idge#1080)

* update bridge according new crewbay.com website
  • Loading branch information
couraudt authored and teromene committed Apr 4, 2019
1 parent 8d81b3b commit 9275ee0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bridges/FindACrewBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ public function collectData() {
foreach ($annonces as $annonce) {
$item = array();

$img = parent::getURI() . $annonce->find('.css_LstPic img', 0)->getAttribute('src');
$item['title'] = $annonce->find('.css_LstCtrls span', 0)->plaintext;
$item['uri'] = parent::getURI() . $annonce->find('.css_PnlCtrls a', 0)->href;
$content = $annonce->find('.css_LstDtl div', 2)->innertext;
$img = parent::getURI() . $annonce->find('.lst-pic img', 0)->getAttribute('src');
$item['title'] = $annonce->find('.lst-tags span', 0)->plaintext;
$item['uri'] = parent::getURI() . $annonce->find('.lst-ctrls a', 0)->href;
$content = $annonce->find('.lst-dtl', 0)->innertext;
$item['content'] = "<img src='$img' /><br>$content";
$item['enclosures'] = array($img);
$item['categories'] = array($annonce->find('.css_AccLocCur', 0)->plaintext);
Expand Down

0 comments on commit 9275ee0

Please sign in to comment.