projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mailru] Fix extraction (closes #24530) (#25239)
[youtube-dl]
/
youtube_dl
/
extractor
/
mgtv.py
diff --git
a/youtube_dl/extractor/mgtv.py
b/youtube_dl/extractor/mgtv.py
index 84137df502522a77561fb8d86ebfb8d7febb2b95..71fc3ec56da8684e49474633959ed72b2d3047b2 100644
(file)
--- a/
youtube_dl/extractor/mgtv.py
+++ b/
youtube_dl/extractor/mgtv.py
@@
-79,6
+79,10
@@
class MGTVIE(InfoExtractor):
'ext': 'mp4',
'tbr': tbr,
'protocol': 'm3u8_native',
'ext': 'mp4',
'tbr': tbr,
'protocol': 'm3u8_native',
+ 'http_headers': {
+ 'Referer': url,
+ },
+ 'format_note': stream.get('name'),
})
self._sort_formats(formats)
})
self._sort_formats(formats)