From f7e34e7bba7dbf6e7a1504973c8af2799ca7eb1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vidar=20Flesj=C3=B8?= Date: Sun, 14 Oct 2018 23:00:50 +0200 Subject: [PATCH] Fix Nuvid extractor --- youtube_dl/extractor/nuvid.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/youtube_dl/extractor/nuvid.py b/youtube_dl/extractor/nuvid.py index 9bb57ca33..470199333 100644 --- a/youtube_dl/extractor/nuvid.py +++ b/youtube_dl/extractor/nuvid.py @@ -26,6 +26,10 @@ class NuvidIE(InfoExtractor): video_id = self._match_id(url) page_url = 'https://m.nuvid.com/video/%s' % video_id + # When dwnld_speed exists and has a value larger than the MP4 file's + # bitrate, Nuvid returns the MP4 URL + # It's unit is 100bytes/millisecond, see mobile-nuvid-min.js for the algorithm + self._set_cookie('nuvid.com', 'dwnld_speed', '10.0') webpage = self._download_webpage( page_url, video_id, 'Downloading video page')