aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/eighttracks.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-03-14 15:55:21 +0600
committerSergey M․ <dstftw@gmail.com>2015-03-14 15:55:21 +0600
commita7e01c438d2f7eb28a44056a1feb1b48f51e1096 (patch)
treeae776601d98e1ae71e4f7f324d2545f9896699af /youtube_dl/extractor/eighttracks.py
parent05be67e77dcf5c2a87d0549f6ae0f805ce38f758 (diff)
downloadyoutube-dl-a7e01c438d2f7eb28a44056a1feb1b48f51e1096.tar.xz
[8tracks] Modernize
Diffstat (limited to 'youtube_dl/extractor/eighttracks.py')
-rw-r--r--youtube_dl/extractor/eighttracks.py3
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)