mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-26 18:45:52 +00:00
lint query and headers
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
0f928ed840
commit
be11f5ff7d
@ -62,13 +62,16 @@ class GloboIE(InfoExtractor):
|
|||||||
|
|
||||||
info = self._download_json(
|
info = self._download_json(
|
||||||
'https://cloud-jarvis.globo.com/graphql', video_id,
|
'https://cloud-jarvis.globo.com/graphql', video_id,
|
||||||
query={'operationName': 'getVideoView',
|
query={
|
||||||
'variables': f'{{"videoId":{video_id}}}',
|
'operationName': 'getVideoView',
|
||||||
'query': self._VIDEO_VIEW},
|
'variables': f'{{"videoId":{video_id}}}',
|
||||||
headers={'content-type': 'application/json',
|
'query': self._VIDEO_VIEW,
|
||||||
'x-platform-id': 'web',
|
}, headers={
|
||||||
'x-device-id': 'desktop',
|
'content-type': 'application/json',
|
||||||
'x-client-version': '2024.12-5'})['data']['video']
|
'x-platform-id': 'web',
|
||||||
|
'x-device-id': 'desktop',
|
||||||
|
'x-client-version': '2024.12-5',
|
||||||
|
})['data']['video']
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
video = self._download_json(
|
video = self._download_json(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user