projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8f6ab8
)
[adobepass] Don't pollute default headers dict
author
Sergey M․
<dstftw@gmail.com>
Mon, 17 Sep 2018 15:15:27 +0000
(22:15 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 17 Sep 2018 15:15:27 +0000
(22:15 +0700)
youtube_dl/extractor/adobepass.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/adobepass.py
b/youtube_dl/extractor/adobepass.py
index b83b51efb624a876bbb46658e50b6f6714e10048..1cf2dcbf35567bc6a47664e1bbf05234eecaf2fb 100644
(file)
--- a/
youtube_dl/extractor/adobepass.py
+++ b/
youtube_dl/extractor/adobepass.py
@@
-1325,8
+1325,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))