projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[popcorntimes] Add extractor (closes #23949)
[youtube-dl]
/
youtube_dl
/
extractor
/
jamendo.py
diff --git
a/youtube_dl/extractor/jamendo.py
b/youtube_dl/extractor/jamendo.py
index 12e21eb6f3ee73b4e80bc508d31e8d9fd7c21f2c..490efa8fb4aadcbf626295338fbd8c40e818d32d 100644
(file)
--- 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()
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)
models = self._parse_json(self._html_search_regex(
r"data-bundled-models='([^']+)",
webpage, 'bundled models'), track_id)