diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-06-19 22:53:39 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-06-19 22:54:53 +0700 |
commit | 2d2132ac6e75932c9c7e6c143f20156482043729 (patch) | |
tree | 2ec17888fe9c4ff558bb332084d391d29f867d19 /youtube_dl/extractor/adobepass.py | |
parent | cc2ffe5afe692bccc9214110bd253b87f4361856 (diff) |
[adobepass] Fix extraction on older python 2.6
Diffstat (limited to 'youtube_dl/extractor/adobepass.py')
-rw-r--r-- | youtube_dl/extractor/adobepass.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/adobepass.py b/youtube_dl/extractor/adobepass.py index d57ad85c2..3dfc632e7 100644 --- a/youtube_dl/extractor/adobepass.py +++ b/youtube_dl/extractor/adobepass.py @@ -6,7 +6,10 @@ import time import xml.etree.ElementTree as etree from .common import InfoExtractor -from ..compat import compat_urlparse +from ..compat import ( + compat_kwargs, + compat_urlparse, +) from ..utils import ( unescapeHTML, urlencode_postdata, @@ -1317,7 +1320,8 @@ class AdobePassIE(InfoExtractor): headers = kwargs.get('headers', {}) headers.update(self.geo_verification_headers()) kwargs['headers'] = headers - return super(AdobePassIE, self)._download_webpage_handle(*args, **kwargs) + return super(AdobePassIE, self)._download_webpage_handle( + *args, **compat_kwargs(kwargs)) @staticmethod def _get_mvpd_resource(provider_id, title, guid, rating): |