[MondeDiplomatique] fix wrong variable name
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
75d429bcf3
commit
a52a5b881a
1 changed files with 3 additions and 2 deletions
|
@ -3,11 +3,12 @@ class MondeDiploBridge extends BridgeAbstract{
|
|||
|
||||
public $maintainer = "Pitchoule";
|
||||
public $name = 'Monde Diplomatique';
|
||||
public $uri = 'http://www.monde-diplomatique.fr';
|
||||
public $uri = 'http://www.monde-diplomatique.fr/';
|
||||
public $description = "Returns most recent results from MondeDiplo.";
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM($this->uri) or $this->returnServerError('Could not request MondeDiplo. for : ' . $link);
|
||||
$html = $this->getSimpleHTMLDOM($this->uri)
|
||||
or $this->returnServerError('Could not request MondeDiplo. for : ' . $this->uri);
|
||||
|
||||
foreach($html->find('div.unarticle') as $article) {
|
||||
$element = $article->parent();
|
||||
|
|
Loading…
Reference in a new issue