mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-02 23:24:52 +00:00
[extractor] Common function _match_valid_url
This commit is contained in:
@@ -198,7 +198,7 @@ class XimalayaAlbumIE(XimalayaBaseIE):
|
||||
def _real_extract(self, url):
|
||||
self.scheme = scheme = 'https' if url.startswith('https') else 'http'
|
||||
|
||||
mobj = re.match(self._VALID_URL, url)
|
||||
mobj = self._match_valid_url(url)
|
||||
uid, playlist_id = mobj.group('uid'), mobj.group('id')
|
||||
|
||||
webpage = self._download_webpage(self._TEMPLATE_URL % (scheme, uid, playlist_id), playlist_id,
|
||||
|
Reference in New Issue
Block a user