aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-02-18 19:11:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-02-18 19:11:32 +0100
commit2a9983b78f170ce6695e2a0c7dbe381f1b484095 (patch)
tree276b25e0c28b0e588c0e3a0fb0dfd6bf2cd7fdc8
parentb17c974a8868cc97d9c5ecf88789198fcfaa6ad2 (diff)
Fix 8tracks
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
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)