[RTBFBridge] Update URI
A series URL still looks like: https://www.rtbf.be/auvio/emissions/detail?id=3553 But an individual episode has been changed from https://www.rtbf.be/auvio/emissions/detail?id=2217881 to https://www.rtbf.be/auvio/detail?id=2217881
This commit is contained in:
parent
8ed4812e00
commit
601f61f063
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
class RTBFBridge extends BridgeAbstract {
|
||||
const NAME = 'RTBF Bridge';
|
||||
const URI = 'http://www.rtbf.be/auvio/emissions/';
|
||||
const URI = 'http://www.rtbf.be/auvio/';
|
||||
const CACHE_TIMEOUT = 21600; //6h
|
||||
const DESCRIPTION = 'Returns the newest RTBF videos by series ID';
|
||||
const MAINTAINER = 'Frenzie';
|
||||
|
@ -50,10 +50,10 @@ class RTBFBridge extends BridgeAbstract {
|
|||
|
||||
public function getURI(){
|
||||
if(!is_null($this->getInput('c'))){
|
||||
return self::URI . 'detail?id=' . $this->getInput('c');
|
||||
return self::URI . 'emissions/detail?id=' . $this->getInput('c');
|
||||
}
|
||||
|
||||
return parent::getURI();
|
||||
return parent::getURI() . 'emissions/';
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
|
|
Loading…
Reference in a new issue