aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-14 21:25:43 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-14 21:25:43 +0100
commit525e0316c046ebcb689ebc01c4a1c53cf289b514 (patch)
tree33e3e0aa4368f990e03020dad581ca10d4c399e3
parent7e60ce9cf7b104c15fcc4c495166dc57b950b987 (diff)
[adobepass] fix check for pendingLogout errors
-rw-r--r--youtube_dl/extractor/adobepass.py2
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'))