From 966d450d2703a51028deaa79eb7f92d388294498 Mon Sep 17 00:00:00 2001
From: Thibault Couraud <1036233+couraudt@users.noreply.github.com>
Date: Thu, 4 Apr 2019 20:44:44 +0000
Subject: [PATCH] [FindACrew] Update bridge according new findacrew.net website
(#1080)
* update bridge according new crewbay.com website
---
bridges/FindACrewBridge.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bridges/FindACrewBridge.php b/bridges/FindACrewBridge.php
index c245c84a..1dac775a 100644
--- a/bridges/FindACrewBridge.php
+++ b/bridges/FindACrewBridge.php
@@ -62,10 +62,10 @@ class FindACrewBridge extends BridgeAbstract {
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'] = "
$content";
$item['enclosures'] = array($img);
$item['categories'] = array($annonce->find('.css_AccLocCur', 0)->plaintext);