projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a9d0e
)
[redbulltv] fix embed data extraction(closes #28770)
author
Remita Amine
<remitamine@gmail.com>
Mon, 17 May 2021 11:56:49 +0000
(12:56 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 17 May 2021 11:56:49 +0000
(12:56 +0100)
youtube_dl/extractor/redbulltv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/redbulltv.py
b/youtube_dl/extractor/redbulltv.py
index 3aae79f5da2a0717c44991130738cfce00760c6b..6d000b37290a6fa1b5e2cd4abf5380e6306c997b 100644
(file)
--- a/
youtube_dl/extractor/redbulltv.py
+++ b/
youtube_dl/extractor/redbulltv.py
@@
-133,8
+133,10
@@
class RedBullEmbedIE(RedBullTVIE):
rrn_id = self._match_id(url)
asset_id = self._download_json(
'https://edge-graphql.crepo-production.redbullaws.com/v1/graphql',
- rrn_id, headers={'API-KEY': 'e90a1ff11335423998b100c929ecc866'},
- query={
+ rrn_id, headers={
+ 'Accept': 'application/json',
+ 'API-KEY': 'e90a1ff11335423998b100c929ecc866',
+ }, query={
'query': '''{
resource(id: "%s", enforceGeoBlocking: false) {
%s