[Jamendo] Fix use of _VALID_URL_RE (#1858)

Closes #1857
Authored by: jaller94
This commit is contained in:
Christian Paul 2021-12-01 17:10:10 +01:00 committed by GitHub
parent a804f6d89c
commit bdbafb3913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class JamendoIE(InfoExtractor):
})[0] })[0]
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._match_valid_url(url).groups()
# webpage = self._download_webpage( # webpage = self._download_webpage(
# 'https://www.jamendo.com/track/' + track_id, track_id) # '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(