Skip to content

Commit

Permalink
[FindACrew] Update bridge according new findacrew.net website (#1080)
Browse files Browse the repository at this point in the history
* update bridge according new crewbay.com website
  • Loading branch information
couraudt authored and teromene committed Apr 4, 2019
1 parent 291e8c2 commit 966d450
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bridges/FindACrewBridge.php
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 966d450

Please sign in to comment.