mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 09:25:43 +00:00
[nuvid] Fix video URL extraction
This commit is contained in:
parent
cc5ada6f4c
commit
d0087d4ff2
@ -30,7 +30,7 @@ def _real_extract(self, url):
|
|||||||
webpage, 'title').strip()
|
webpage, 'title').strip()
|
||||||
|
|
||||||
url_end = self._html_search_regex(
|
url_end = self._html_search_regex(
|
||||||
r'href="(/mp4/[^"]+)"[^>]*data-link_type="mp4"',
|
r'href="(/[^"]+)"[^>]*data-link_type="mp4"',
|
||||||
webpage, 'video_url')
|
webpage, 'video_url')
|
||||||
video_url = 'http://m.nuvid.com' + url_end
|
video_url = 'http://m.nuvid.com' + url_end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user