Browse Source

[adobepass] fix check for pendingLogout errors

totalwebcasting
Remita Amine 8 years ago
parent
commit
525e0316c0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/adobepass.py

+ 1
- 1
youtube_dl/extractor/adobepass.py View File

@ -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'))


Loading…
Cancel
Save