From 3e528ddccf9ef26f654c9487d0952519266dea2e Mon Sep 17 00:00:00 2001 From: B1nj Date: Mon, 16 Oct 2017 22:24:49 -0400 Subject: [PATCH] Update saisons AllocineFRBridge --- bridges/AllocineFRBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/AllocineFRBridge.php b/bridges/AllocineFRBridge.php index 604199b..959d0ef 100644 --- a/bridges/AllocineFRBridge.php +++ b/bridges/AllocineFRBridge.php @@ -26,7 +26,7 @@ class AllocineFRBridge extends BridgeAbstract { switch($this->getInput('category')) { case 'faux-raccord': - $uri = static::URI . 'video/programme-12284/saison-29841/'; + $uri = static::URI . 'video/programme-12284/saison-32180/'; break; case 'top-5': $uri = static::URI . 'video/programme-12299/saison-29561/'; @@ -64,7 +64,7 @@ class AllocineFRBridge extends BridgeAbstract { self::PARAMETERS[$this->queriedContext]['category']['values'] ); - foreach($html->find('figure.media-meta-fig') as $element) { + foreach($html->find('.media-meta-list figure.media-meta-fig') as $element) { $item = array(); $title = $element->find('div.titlebar h3.title a', 0);