From: Philipp Hagemeister Date: Mon, 18 Feb 2013 18:11:32 +0000 (+0100) Subject: Fix 8tracks X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2a9983b78f170ce6695e2a0c7dbe381f1b484095;p=youtube-dl Fix 8tracks --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 9f63512d7..627329ecd 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3913,7 +3913,7 @@ class EightTracksIE(InfoExtractor): webpage = self._download_webpage(url, playlist_id) - m = re.search(r"new TRAX.Mix\((.*?)\);\n*\s*TRAX.initSearchAutocomplete\('#search'\);", webpage, flags=re.DOTALL) + m = re.search(r"PAGE.mix = (.*?);\n", webpage, flags=re.DOTALL) if not m: raise ExtractorError(u'Cannot find trax information') json_like = m.group(1)