소스 검색

[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)