mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 00:25:08 +00:00
[extractor] Common function _match_valid_url
This commit is contained in:
@ -204,6 +204,6 @@ class OoyalaExternalIE(OoyalaBaseIE):
|
||||
}
|
||||
|
||||
def _real_extract(self, url):
|
||||
partner_id, video_id, pcode = re.match(self._VALID_URL, url).groups()
|
||||
partner_id, video_id, pcode = self._match_valid_url(url).groups()
|
||||
content_tree_url = self._CONTENT_TREE_BASE + 'external_id/%s/%s:%s' % (pcode, partner_id, video_id)
|
||||
return self._extract(content_tree_url, video_id)
|
||||
|
Reference in New Issue
Block a user