From 69d30ad1254e883cc276a523784865f96d2b1ac1 Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Sun, 25 Sep 2016 12:28:01 +0200 Subject: [PATCH 1/2] 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' --- bridges/AllocineFRBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/AllocineFRBridge.php b/bridges/AllocineFRBridge.php index 82405b0..a018ddd 100644 --- a/bridges/AllocineFRBridge.php +++ b/bridges/AllocineFRBridge.php @@ -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/'; From 41540e24ef60cf9fa9b2ab195e29f8092da4b27d Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Sun, 25 Sep 2016 12:31:58 +0200 Subject: [PATCH 2/2] Update AllocineFRBridge.php --- bridges/AllocineFRBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/AllocineFRBridge.php b/bridges/AllocineFRBridge.php index a018ddd..112bb3b 100644 --- a/bridges/AllocineFRBridge.php +++ b/bridges/AllocineFRBridge.php @@ -4,7 +4,7 @@ class AllocineFRBridge extends BridgeAbstract{ const MAINTAINER = "superbaillot.net"; const NAME = "Allo Cine Bridge"; - const URI = "http://www.allocine.fr"; + const URI = "http://www.allocine.fr/"; const DESCRIPTION = "Bridge for allocine.fr"; const PARAMETERS = array( array( 'category'=>array(