diff --git a/bridges/PlanetLibreBridge.php b/bridges/PlanetLibreBridge.php index bfafb48f..6e2024f5 100644 --- a/bridges/PlanetLibreBridge.php +++ b/bridges/PlanetLibreBridge.php @@ -13,7 +13,8 @@ class PlanetLibreBridge extends BridgeAbstract{ } public function collectData(){ - $html = $this->getSimpleHTMLDOM('http://www.planet-libre.org/') or $this->returnServerError('Could not request PlanetLibre.'); + $html = $this->getSimpleHTMLDOM($this->uri) + or $this->returnServerError('Could not request PlanetLibre.'); $limit = 0; foreach($html->find('div.post') as $element) { if($limit < 5) {