diff options
author | Remita Amine <remitamine@gmail.com> | 2016-08-14 21:25:43 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2016-08-14 21:25:43 +0100 |
commit | 525e0316c046ebcb689ebc01c4a1c53cf289b514 (patch) | |
tree | 33e3e0aa4368f990e03020dad581ca10d4c399e3 /youtube_dl/extractor/adobepass.py | |
parent | 7e60ce9cf7b104c15fcc4c495166dc57b950b987 (diff) |
[adobepass] fix check for pendingLogout errors
Diffstat (limited to 'youtube_dl/extractor/adobepass.py')
-rw-r--r-- | youtube_dl/extractor/adobepass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/adobepass.py b/youtube_dl/extractor/adobepass.py index d315bfbc1..cf3a15cbb 100644 --- a/youtube_dl/extractor/adobepass.py +++ b/youtube_dl/extractor/adobepass.py @@ -90,7 +90,7 @@ class AdobePass(InfoExtractor): '_method': 'GET', 'requestor_id': requestor_id, }), headers=mvpd_headers) - if '<pendingLogout' in short_authorize: + if '<pendingLogout' in session: self._downloader.cache.store('mvpd', requestor_id, {}) return self._extract_mvpd_auth(url, video_id, requestor_id, resource) authn_token = unescapeHTML(xml_text(session, 'authnToken')) |