youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 038a3a1a614c2d67233f5822ae439da877b797ff
parent 587c68b2cdef65766d4dc408b04bd67cf8d2daf2
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Thu, 20 Jun 2013 14:37:43 +0200

RBMARadioIE: fix the extraction of the JSON data

Diffstat:
Myoutube_dl/InfoExtractors.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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'<script>window.gon = {.*?};gon\.show=(.+?);</script>', - 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)