mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 09:25:43 +00:00
Fix 8tracks
This commit is contained in:
parent
b17c974a88
commit
2a9983b78f
@ -3913,7 +3913,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
webpage = self._download_webpage(url, playlist_id)
|
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:
|
if not m:
|
||||||
raise ExtractorError(u'Cannot find trax information')
|
raise ExtractorError(u'Cannot find trax information')
|
||||||
json_like = m.group(1)
|
json_like = m.group(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user