mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 04:30:10 +09:00
[jamendo] restore track url modification
This commit is contained in:
parent
e452345fc5
commit
2349255abd
@ -44,7 +44,8 @@ class JamendoIE(InfoExtractor):
|
|||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
track_id, display_id = self._VALID_URL_RE.match(url).groups()
|
track_id, display_id = self._VALID_URL_RE.match(url).groups()
|
||||||
webpage = self._download_webpage(url, track_id)
|
webpage = self._download_webpage(
|
||||||
|
'https://www.jamendo.com/track/' + track_id, track_id)
|
||||||
models = self._parse_json(self._html_search_regex(
|
models = self._parse_json(self._html_search_regex(
|
||||||
r"data-bundled-models='([^']+)",
|
r"data-bundled-models='([^']+)",
|
||||||
webpage, 'bundled models'), track_id)
|
webpage, 'bundled models'), track_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user