diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-03-14 15:55:21 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-03-14 15:55:21 +0600 |
commit | a7e01c438d2f7eb28a44056a1feb1b48f51e1096 (patch) | |
tree | ae776601d98e1ae71e4f7f324d2545f9896699af /youtube_dl | |
parent | 05be67e77dcf5c2a87d0549f6ae0f805ce38f758 (diff) |
[8tracks] Modernize
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/eighttracks.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/eighttracks.py b/youtube_dl/extractor/eighttracks.py index 49ec2be4c..c84d16142 100644 --- a/youtube_dl/extractor/eighttracks.py +++ b/youtube_dl/extractor/eighttracks.py @@ -103,8 +103,7 @@ class EightTracksIE(InfoExtractor): } def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - playlist_id = mobj.group('id') + playlist_id = self._match_id(url) webpage = self._download_webpage(url, playlist_id) |