1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 06:27:26 +08:00

[nbc:NBCSportsVPlayer] Corrected video URL

This commit is contained in:
Parmjit Virk 2017-09-05 22:34:09 -05:00
parent 5113b69124
commit 56ee4893e7

View File

@ -134,7 +134,8 @@ class NBCSportsVPlayerIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
theplatform_url = self._og_search_video_url(webpage)
theplatform_url = self._og_search_video_url(webpage).replace(
'vplayer.nbcsports.com', 'player.theplatform.com')
return self.url_result(theplatform_url, 'ThePlatform')