From d03745c684b904f858f01875a4f5f446dc43dcd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Mon, 21 Apr 2014 19:00:27 +0700 Subject: [PATCH 1/2] [jukebox] Update test md5 --- youtube_dl/extractor/jukebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/jukebox.py b/youtube_dl/extractor/jukebox.py index f06dcb05e..9b553b9fa 100644 --- a/youtube_dl/extractor/jukebox.py +++ b/youtube_dl/extractor/jukebox.py @@ -14,7 +14,7 @@ class JukeboxIE(InfoExtractor): _VALID_URL = r'^http://www\.jukebox?\..+?\/.+[,](?P[a-z0-9\-]+)\.html' _TEST = { 'url': 'http://www.jukebox.es/kosheen/videoclip,pride,r303r.html', - 'md5': '5dc6477e74b1e37042ac5acedd8413e5', + 'md5': '1574e9b4d6438446d5b7dbcdf2786276', 'info_dict': { 'id': 'r303r', 'ext': 'flv', From 68905742567e95700ffd9bd9f126b7f96b347c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Mon, 21 Apr 2014 19:04:11 +0700 Subject: [PATCH 2/2] [rutube] Add missing whitespace --- youtube_dl/extractor/rutube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/rutube.py b/youtube_dl/extractor/rutube.py index 4f7f8cb6d..357edbbda 100644 --- a/youtube_dl/extractor/rutube.py +++ b/youtube_dl/extractor/rutube.py @@ -47,7 +47,7 @@ def _real_extract(self, url): author = video.get('author') or {} options = self._download_json( - 'http://rutube.ru/api/play/options/%s/?format=json' %video_id, + 'http://rutube.ru/api/play/options/%s/?format=json' % video_id, video_id, 'Downloading options JSON') m3u8_url = options['video_balancer'].get('m3u8')