]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/adobepass.py
debian/changelog: Wrap long line.
[youtubedl] / youtube_dl / extractor / adobepass.py
index b83b51efb624a876bbb46658e50b6f6714e10048..38dca1b0a4c6891edeec4c225b9afc173048e1d5 100644 (file)
@@ -25,6 +25,11 @@ MSO_INFO = {
         'username_field': 'username',
         'password_field': 'password',
     },
+    'ATT': {
+        'name': 'AT&T U-verse',
+        'username_field': 'userid',
+        'password_field': 'password',
+    },
     'ATTOTT': {
         'name': 'DIRECTV NOW',
         'username_field': 'email',
@@ -1325,8 +1330,8 @@ class AdobePassIE(InfoExtractor):
     _DOWNLOADING_LOGIN_PAGE = 'Downloading Provider Login Page'
 
     def _download_webpage_handle(self, *args, **kwargs):
-        headers = kwargs.get('headers', {})
-        headers.update(self.geo_verification_headers())
+        headers = self.geo_verification_headers()
+        headers.update(kwargs.get('headers', {}))
         kwargs['headers'] = headers
         return super(AdobePassIE, self)._download_webpage_handle(
             *args, **compat_kwargs(kwargs))