aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/adobepass.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-09-14 16:36:42 +0100
committerRemita Amine <remitamine@gmail.com>2016-09-14 16:37:21 +0100
commit5712c0f42639cd183b0dfbc51482592e790e99d1 (patch)
tree533e8560f7e25304b34780fdfa6970f2c90a593c /youtube_dl/extractor/adobepass.py
parent86d68f906e21a6674f9f8676b22a47414b6c9fd2 (diff)
[adobepass] remove unnecessary option
Diffstat (limited to 'youtube_dl/extractor/adobepass.py')
-rw-r--r--youtube_dl/extractor/adobepass.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/adobepass.py b/youtube_dl/extractor/adobepass.py
index 9add6c0f8..913a817d2 100644
--- a/youtube_dl/extractor/adobepass.py
+++ b/youtube_dl/extractor/adobepass.py
@@ -83,9 +83,8 @@ class AdobePassIE(InfoExtractor):
}
guid = xml_text(resource, 'guid')
- retries = self._downloader.params.get('ap_retries', 3)
count = 0
- while count < retries:
+ while count < 2:
requestor_info = self._downloader.cache.load('mvpd', requestor_id) or {}
authn_token = requestor_info.get('authn_token')
if authn_token and is_expired(authn_token, 'simpleTokenExpires'):