Fix URL & Change to the lastest Season

The leading slash was missing for the Bridge URL (URL where therefore malformed)
Changed the URL to get the lastest for 'Faux Raccord' and 'Top 5'
This commit is contained in:
sysadminstory 2016-09-25 12:28:01 +02:00 committed by GitHub
parent c5831e384f
commit 69d30ad125

View file

@ -24,10 +24,10 @@ class AllocineFRBridge extends BridgeAbstract{
public function getURI(){
switch($this->getInput('category')){
case 'faux-raccord':
$uri = static::URI.'video/programme-12284/saison-24580/';
$uri = static::URI.'video/programme-12284/saison-27129/';
break;
case 'top-5':
$uri = static::URI.'video/programme-12299/saison-22542/';
$uri = static::URI.'video/programme-12299/saison-29561/';
break;
case 'tueurs-en-serie':
$uri = static::URI.'video/programme-12286/saison-22938/';