[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
|
@ -129,7 +129,9 @@ class AppleTrailersIE(InfoExtractor):
|
|||
'thumbnail': thumbnail,
|
||||
'upload_date': upload_date,
|
||||
'uploader_id': uploader_id,
|
||||
'user_agent': 'QuickTime compatible (youtube-dl)',
|
||||
'http_headers': {
|
||||
'User-Agent': 'QuickTime compatible (youtube-dl)',
|
||||
},
|
||||
})
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue