summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRemita Amine <[email protected]>2021-03-04 17:57:16 +0100
committerRemita Amine <[email protected]>2021-03-04 17:57:16 +0100
commitb8b622fbebb158db95edb05a8cc248668194b430 (patch)
tree2014ce49e09f63e9a862757d94f7c77a3142e291
parentec64ec9651848e9173ec033a9a27809e4b5063bc (diff)
downloadyoutube-dl-b8b622fbebb158db95edb05a8cc248668194b430.tar.gz
youtube-dl-b8b622fbebb158db95edb05a8cc248668194b430.zip
[trovo] Add Origin header to VOD formats(closes #28346)
-rw-r--r--youtube_dl/extractor/trovo.py1
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)