[trovo] Add Origin header to VOD formats(closes #28346)
This commit is contained in:
parent
ec64ec9651
commit
b8b622fbeb
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ class TrovoVodIE(TrovoBaseIE):
|
||||||
'protocol': 'm3u8_native',
|
'protocol': 'm3u8_native',
|
||||||
'tbr': int_or_none(play_info.get('bitrate')),
|
'tbr': int_or_none(play_info.get('bitrate')),
|
||||||
'url': play_url,
|
'url': play_url,
|
||||||
|
'http_headers': {'Origin': 'https://trovo.live'},
|
||||||
})
|
})
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue