[extractors] Use http_headers for setting the User-Agent and the Referer
This commit is contained in:
parent
3fcfb8e9fa
commit
e1554a407d
5 changed files with 9 additions and 8 deletions
|
@ -62,5 +62,7 @@ class VideoMegaIE(InfoExtractor):
|
|||
'title': title,
|
||||
'formats': formats,
|
||||
'thumbnail': thumbnail,
|
||||
'http_referer': iframe_url,
|
||||
'http_headers': {
|
||||
'Referer': iframe_url,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue