mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-31 12:32:27 +01:00
replace desktop with 8k device specification, allowing more quality formats
This commit is contained in:
parent
135cc6601c
commit
b69fa6a856
1 changed files with 1 additions and 2 deletions
|
@ -109,14 +109,13 @@ class GloboIE(InfoExtractor):
|
|||
f'Downloading resource info for {video_id}',
|
||||
headers={'Content-Type': 'application/json'},
|
||||
data=json.dumps({
|
||||
'player_type': 'desktop',
|
||||
'player_type': 'mirakulo_8k_hdr',
|
||||
'video_id': video_id,
|
||||
'quality': 'max',
|
||||
'content_protection': 'widevine',
|
||||
'vsid': f'{uuid.uuid4()}',
|
||||
'consumption': 'streaming',
|
||||
'capabilities': {'low_latency': True},
|
||||
'metadata': {'name': 'web', 'device': {'type': 'desktop', 'os': {}}},
|
||||
'tz': '-03:00',
|
||||
'Authorization': try_get(self._get_cookies('https://globo.com'),
|
||||
lambda x: f'Bearer {x["GLBID"].value}') or '',
|
||||
|
|
Loading…
Add table
Reference in a new issue