mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-11 10:04:49 +00:00
[extractor] Common function _match_valid_url
This commit is contained in:
@@ -86,7 +86,7 @@ class NBCIE(ThePlatformIE):
|
||||
]
|
||||
|
||||
def _real_extract(self, url):
|
||||
permalink, video_id = re.match(self._VALID_URL, url).groups()
|
||||
permalink, video_id = self._match_valid_url(url).groups()
|
||||
permalink = 'http' + compat_urllib_parse_unquote(permalink)
|
||||
video_data = self._download_json(
|
||||
'https://friendship.nbc.co/v2/graphql', video_id, query={
|
||||
|
Reference in New Issue
Block a user