Jelajahi Sumber

[8tracks] Modernize

Sergey M․ 10 tahun lalu
induk
melakukan
a7e01c438d
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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)