From 0d9be1f5103641fa63d4c9afb699f4044b6def4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Sun, 28 Aug 2016 19:54:01 +0200 Subject: [PATCH] [FootitoBridge] code simplification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/FootitoBridge.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridges/FootitoBridge.php b/bridges/FootitoBridge.php index 47518853..b2c40896 100644 --- a/bridges/FootitoBridge.php +++ b/bridges/FootitoBridge.php @@ -7,7 +7,8 @@ class FootitoBridge extends BridgeAbstract{ public $description = "Footito"; public function collectData(){ - $html = $this->getSimpleHTMLDOM('http://www.footito.fr/') or $this->returnServerError('Could not request Footito.'); + $html = $this->getSimpleHTMLDOM($this->uri) + or $this->returnServerError('Could not request Footito.'); foreach($html->find('div.post') as $element) { $item = array();