From f3d88567dd36c08efa89201beccf1f2a6831ecb0 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 3 Aug 2010 20:24:42 +0200 Subject: [PATCH] fix preview urls with spaces --- weboob/capabilities/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/capabilities/video.py b/weboob/capabilities/video.py index 14f10246..3f09be7c 100644 --- a/weboob/capabilities/video.py +++ b/weboob/capabilities/video.py @@ -24,7 +24,7 @@ __all__ = ['BaseVideo', 'ICapVideo'] class VideoThumbnail(object): def __init__(self, url): - self.url = url + self.url = url.replace(' ', '%20') self.data = None def __str__(self):