[AtmoNouvelleAquitaine] Change description (#1423)
* [AtmoNouvelleAquitaine] Change description
This commit is contained in:
parent
182e9e7b41
commit
f040e4dc9c
1 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
class AtmoNouvelleAquitaineBridge extends BridgeAbstract {
|
||||
|
||||
const NAME = 'Atmo Nouvelle Aquitaine';
|
||||
const URI = 'https://www.atmo-nouvelleaquitaine.org/monair/commune/';
|
||||
const DESCRIPTION = 'Fetches the latest air polution of Bordeaux from Atmo Nouvelle Aquitaine';
|
||||
const URI = 'https://www.atmo-nouvelleaquitaine.org';
|
||||
const DESCRIPTION = 'Fetches the latest air polution of cities in Nouvelle Aquitaine from Atmo';
|
||||
const MAINTAINER = 'floviolleau';
|
||||
const PARAMETERS = array(array(
|
||||
'cities' => array(
|
||||
|
@ -27,7 +27,7 @@ class AtmoNouvelleAquitaineBridge extends BridgeAbstract {
|
|||
}
|
||||
|
||||
public function collectData() {
|
||||
$uri = self::URI . $this->getInput('cities');
|
||||
$uri = self::URI . '/monair/commune/' . $this->getInput('cities');
|
||||
|
||||
$html = getSimpleHTMLDOM($uri)
|
||||
or returnServerError('Could not request ' . $uri);
|
||||
|
|
Loading…
Reference in a new issue