From: Remita Amine Date: Thu, 4 Mar 2021 16:57:16 +0000 (+0100) Subject: [trovo] Add Origin header to VOD formats(closes #28346) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b8b622fbebb158db95edb05a8cc248668194b430;p=youtube-dl [trovo] Add Origin header to VOD formats(closes #28346) --- 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)