[extractor] Common function _match_valid_url
This commit is contained in:
parent
f79ec47d71
commit
5ad28e7ffd
293 changed files with 389 additions and 541 deletions
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue