Browse Source

[8tracks] Modernize

Sergey M․ 10 years ago
parent
commit
a7e01c438d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      youtube_dl/extractor/eighttracks.py

+ 1 - 2
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)