commit 525e0316c046ebcb689ebc01c4a1c53cf289b514
parent 7e60ce9cf7b104c15fcc4c495166dc57b950b987
Author: Remita Amine <remitamine@gmail.com>
Date: Sun, 14 Aug 2016 21:25:43 +0100
[adobepass] fix check for pendingLogout errors
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'))