From 038a3a1a614c2d67233f5822ae439da877b797ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 20 Jun 2013 14:37:43 +0200 Subject: [PATCH] RBMARadioIE: fix the extraction of the JSON data --- youtube_dl/InfoExtractors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index c80a74ef6..d9c555643 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3488,8 +3488,8 @@ class RBMARadioIE(InfoExtractor): webpage = self._download_webpage(url, video_id) - json_data = self._search_regex(r'', - webpage, u'json data') + json_data = self._search_regex(r'window\.gon.*?gon\.show=(.+?);$', + webpage, u'json data', flags=re.MULTILINE) try: data = json.loads(json_data)