[FootitoBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
445f3336c0
commit
0d9be1f510
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue