1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-04 01:42:51 +08:00

[nuvid] Fix video URL extraction

This commit is contained in:
Sergey M․ 2014-05-27 18:46:30 +07:00
parent cc5ada6f4c
commit d0087d4ff2

View File

@ -30,7 +30,7 @@ class NuvidIE(InfoExtractor):
webpage, 'title').strip()
url_end = self._html_search_regex(
r'href="(/mp4/[^"]+)"[^>]*data-link_type="mp4"',
r'href="(/[^"]+)"[^>]*data-link_type="mp4"',
webpage, 'video_url')
video_url = 'http://m.nuvid.com' + url_end