projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec64ec9
)
[trovo] Add Origin header to VOD formats(closes #28346)
author
Remita Amine
<remitamine@gmail.com>
Thu, 4 Mar 2021 16:57:16 +0000
(17:57 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 4 Mar 2021 16:57:16 +0000
(17:57 +0100)
youtube_dl/extractor/trovo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/trovo.py
b/youtube_dl/extractor/trovo.py
index 43745213da2099f535619c94e2c56188e0fb683b..de0107aa929bf8376dc83ab564ba7feb137af668 100644
(file)
--- 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)