From 626a9015845779d736e7cf876ae22a2c08d282c7 Mon Sep 17 00:00:00 2001 From: dove <147140405+slipinthedove@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:09:24 -0300 Subject: [PATCH] include additional parameters for video-session --- yt_dlp/extractor/globo.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/globo.py b/yt_dlp/extractor/globo.py index 849b056037..619b306e6a 100644 --- a/yt_dlp/extractor/globo.py +++ b/yt_dlp/extractor/globo.py @@ -1,5 +1,6 @@ import json import re +import uuid from .common import InfoExtractor from ..utils import ( @@ -84,7 +85,10 @@ class GloboIE(InfoExtractor): 'video_id': video_id, 'quality': 'max', 'content_protection': 'widevine', - 'vsid': '2938bc7c-9376-d4b7-ee91-ce46dbbf9f4d', + '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 '',