From bd54e2329f9f7b3df2a6a90d0035512f8f17eb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 4 Jun 2013 14:36:45 +0200 Subject: [PATCH] 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. --- modules/arte/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/arte/video.py b/modules/arte/video.py index a67ff6ce..a607d189 100644 --- a/modules/arte/video.py +++ b/modules/arte/video.py @@ -27,7 +27,7 @@ __all__ = ['ArteVideo','ArteLiveVideo'] class ArteVideo(BaseVideo): @classmethod 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):