瀏覽代碼

[8tracks] Modernize

Sergey M․ 10 年之前
父節點
當前提交
a7e01c438d
共有 1 個文件被更改,包括 1 次插入2 次删除
  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)