Skip to content

Commit

Permalink
[redbulltv] fix embed data extraction(closes ytdl-org#28770)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed May 17, 2021
1 parent e1a9d0e commit dfbbe29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions youtube_dl/extractor/redbulltv.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ def _real_extract(self, url):
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
Expand Down

0 comments on commit dfbbe29

Please sign in to comment.