Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Glen
youtube-dl
Commits
4dcd4b7b
Verified
Commit
4dcd4b7b
authored
Jul 12, 2019
by
Sergey M.
Browse files
[mgtv] Pass Referer HTTP header for format URLs (closes #21726)
parent
5fc08961
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
youtube_dl/extractor/mgtv.py
youtube_dl/extractor/mgtv.py
+3
-0
No files found.
youtube_dl/extractor/mgtv.py
View file @
4dcd4b7b
...
...
@@ -79,6 +79,9 @@ class MGTVIE(InfoExtractor):
'ext'
:
'mp4'
,
'tbr'
:
tbr
,
'protocol'
:
'm3u8_native'
,
'http_headers'
:
{
'Referer'
:
url
,
},
})
self
.
_sort_formats
(
formats
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment