]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Fix 8tracks
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 18 Feb 2013 18:11:32 +0000 (19:11 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 18 Feb 2013 18:11:32 +0000 (19:11 +0100)
youtube_dl/InfoExtractors.py

index 9f63512d777438d422d8d721b54bfbb05d275837..627329ecd3848e8c15e1d9505c66880b2aff7e0c 100755 (executable)
@@ -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)