mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[mgtv] Pass Referer HTTP header for format URLs (closes #21726)
This commit is contained in:
parent
5fc0896168
commit
4dcd4b7b16
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ def _real_extract(self, url):
|
|||
'ext': 'mp4',
|
||||
'tbr': tbr,
|
||||
'protocol': 'm3u8_native',
|
||||
'http_headers': {
|
||||
'Referer': url,
|
||||
},
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
|
||||
|
|
Loading…
Reference in a new issue