[8tracks] Modernize
authorSergey M․ <dstftw@gmail.com>
Sat, 14 Mar 2015 09:55:21 +0000 (15:55 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 14 Mar 2015 09:55:21 +0000 (15:55 +0600)
youtube_dl/extractor/eighttracks.py

index 49ec2be4ce8d799047de54a73f6b5fbc3344bba1..c84d1614211e6bb7342b6f4c2f7cf9bf47f59576 100644 (file)
@@ -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)