mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
Enables HD quality when CookieFile is provided
This changes will allow download of streams in HD quality which is normally available only to signed users. A cookie file needs to be provided with `--cookies` flag.
This commit is contained in:
parent
15e832ff2a
commit
f0bb6ee3f7
@ -74,11 +74,12 @@ class IPrimaIE(InfoExtractor):
|
||||
webpage, 'real id')
|
||||
|
||||
playerpage = self._download_webpage(
|
||||
'http://play.iprima.cz/prehravac/init',
|
||||
'https://api.play-backend.iprima.cz/prehravac/init-embed',
|
||||
video_id, note='Downloading player', query={
|
||||
'_infuse': 1,
|
||||
'_ts': round(time.time()),
|
||||
'productId': video_id,
|
||||
'embed': True,
|
||||
}, headers={'Referer': url})
|
||||
|
||||
formats = []
|
||||
|
Loading…
Reference in New Issue
Block a user