mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Fix Nuvid extractor
This commit is contained in:
parent
836fd554a3
commit
f7e34e7bba
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user