Merge pull request #593 from b1nj/master
Update saison AllocineFRBridge
This commit is contained in:
commit
aa6ded0ea4
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class AllocineFRBridge extends BridgeAbstract {
|
||||||
|
|
||||||
switch($this->getInput('category')) {
|
switch($this->getInput('category')) {
|
||||||
case 'faux-raccord':
|
case 'faux-raccord':
|
||||||
$uri = static::URI . 'video/programme-12284/saison-29841/';
|
$uri = static::URI . 'video/programme-12284/saison-32180/';
|
||||||
break;
|
break;
|
||||||
case 'top-5':
|
case 'top-5':
|
||||||
$uri = static::URI . 'video/programme-12299/saison-29561/';
|
$uri = static::URI . 'video/programme-12299/saison-29561/';
|
||||||
|
@ -64,7 +64,7 @@ class AllocineFRBridge extends BridgeAbstract {
|
||||||
self::PARAMETERS[$this->queriedContext]['category']['values']
|
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();
|
$item = array();
|
||||||
|
|
||||||
$title = $element->find('div.titlebar h3.title a', 0);
|
$title = $element->find('div.titlebar h3.title a', 0);
|
||||||
|
|
Loading…
Reference in a new issue