arte: Fix id2url()
The website now requires the id to be prefixed with "--" in the video page url, to separate it from the optional keywords.
This commit is contained in:
parent
f615352340
commit
bd54e2329f
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ __all__ = ['ArteVideo','ArteLiveVideo']
|
||||||
class ArteVideo(BaseVideo):
|
class ArteVideo(BaseVideo):
|
||||||
@classmethod
|
@classmethod
|
||||||
def id2url(cls, _id):
|
def id2url(cls, _id):
|
||||||
return 'http://videos.arte.tv/fr/videos/%s.html' % _id
|
return 'http://videos.arte.tv/fr/videos/--%s.html' % _id
|
||||||
|
|
||||||
|
|
||||||
class ArteLiveVideo(BaseVideo):
|
class ArteLiveVideo(BaseVideo):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue