ajout de la prise en charge de Arte Live Web par le module arte
Signed-off-by: Bezleputh <carton_ben@yahoo.fr> Signed-off-by: Romain Bignon <romain@budget-insight.com>
This commit is contained in:
parent
24b9631387
commit
d1fd5de309
6 changed files with 191 additions and 21 deletions
|
|
@ -21,10 +21,16 @@
|
|||
from weboob.capabilities.video import BaseVideo
|
||||
|
||||
|
||||
__all__ = ['ArteVideo']
|
||||
__all__ = ['ArteVideo','ArteLiveVideo']
|
||||
|
||||
|
||||
class ArteVideo(BaseVideo):
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
return 'http://videos.arte.tv/fr/videos/%s.html' % _id
|
||||
|
||||
|
||||
class ArteLiveVideo(BaseVideo):
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
return 'http://arte.vo.llnwd.net/o21/liveweb/events/event-%s.xml' % _id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue