[nuvid] Fix video URL extraction
authorSergey M․ <dstftw@gmail.com>
Tue, 27 May 2014 11:46:30 +0000 (18:46 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 27 May 2014 11:46:30 +0000 (18:46 +0700)
youtube_dl/extractor/nuvid.py

index f0befa1168f690cb35c47218627d5fc888359224..e3db9fe8c6c643d49aa8c521921bc3f508010f98 100644 (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