[extractors] Use http_headers for setting the User-Agent and the Referer

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-01-24 18:19:58 +01:00
parent 3fcfb8e9fa
commit e1554a407d
5 changed files with 9 additions and 8 deletions

View file

@ -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 {