aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-11-04 15:51:44 +0100
committerRemita Amine <remitamine@gmail.com>2019-11-04 15:51:44 +0100
commit2349255abdf822e0bb9508d510db926cae777f8c (patch)
tree777e0911f61fb3c7de0e9a7b32bc5e588d045fb1 /youtube_dl/extractor
parente452345fc5cee5e79d2cad6be575da563987a4ff (diff)
[jamendo] restore track url modification
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/jamendo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/jamendo.py b/youtube_dl/extractor/jamendo.py
index 12e21eb6f..490efa8fb 100644
--- a/youtube_dl/extractor/jamendo.py
+++ b/youtube_dl/extractor/jamendo.py
@@ -44,7 +44,8 @@ class JamendoIE(InfoExtractor):
def _real_extract(self, url):
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(
r"data-bundled-models='([^']+)",
webpage, 'bundled models'), track_id)