diff options
author | Remita Amine <[email protected]> | 2021-03-04 17:57:16 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2021-03-04 17:57:16 +0100 |
commit | b8b622fbebb158db95edb05a8cc248668194b430 (patch) | |
tree | 2014ce49e09f63e9a862757d94f7c77a3142e291 | |
parent | ec64ec9651848e9173ec033a9a27809e4b5063bc (diff) | |
download | youtube-dl-b8b622fbebb158db95edb05a8cc248668194b430.tar.gz youtube-dl-b8b622fbebb158db95edb05a8cc248668194b430.zip |
[trovo] Add Origin header to VOD formats(closes #28346)
-rw-r--r-- | youtube_dl/extractor/trovo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/trovo.py b/youtube_dl/extractor/trovo.py index 43745213d..de0107aa9 100644 --- a/youtube_dl/extractor/trovo.py +++ b/youtube_dl/extractor/trovo.py @@ -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) |