diff --git a/bridges/BlaguesDeMerdeBridge.php b/bridges/BlaguesDeMerdeBridge.php index 5d1b277..e0f65e1 100644 --- a/bridges/BlaguesDeMerdeBridge.php +++ b/bridges/BlaguesDeMerdeBridge.php @@ -8,7 +8,8 @@ class BlaguesDeMerdeBridge extends BridgeAbstract{ public function collectData(){ - $html = $this->getSimpleHTMLDOM('http://www.blaguesdemerde.fr/') or $this->returnServerError('Could not request BDM.'); + $html = $this->getSimpleHTMLDOM($this->uri) + or $this->returnServerError('Could not request BDM.'); foreach($html->find('article.joke_contener') as $element) { $item = array();