Skip to content

Commit

Permalink
[trovo] Add Origin header to VOD formats(closes ytdl-org#28346)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine authored and leshasmlesha committed Mar 4, 2021
1 parent 802f53d commit 1be3fce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtube_dl/extractor/trovo.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def _real_extract(self, url):
'protocol': 'm3u8_native',
'tbr': int_or_none(play_info.get('bitrate')),
'url': play_url,
'http_headers': {'Origin': 'https://trovo.live'},
})
self._sort_formats(formats)

Expand Down

0 comments on commit 1be3fce

Please sign in to comment.