mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2025-06-05 21:49:13 +02:00
[trovo] Add Origin header to VOD formats(closes #28346)
This commit is contained in:
@@ -153,6 +153,7 @@ class TrovoVodIE(TrovoBaseIE):
|
||||
'protocol': 'm3u8_native',
|
||||
'tbr': int_or_none(play_info.get('bitrate')),
|
||||
'url': play_url,
|
||||
'http_headers': {'Origin': 'https://trovo.live'},
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
|
||||
|
Reference in New Issue
Block a user