aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/adobepass.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-09-20 11:55:30 +0100
committerRemita Amine <remitamine@gmail.com>2016-09-20 11:55:30 +0100
commitc38f06818df83f5f46cbdee1069bfaf53a537cc8 (patch)
tree5e81f9594ea7d6f888e54788e1f37a14d54a3247 /youtube_dl/extractor/adobepass.py
parentcb57386873a053b3328a78f48cf27f23ca6897d1 (diff)
downloadyoutube-dl-c38f06818df83f5f46cbdee1069bfaf53a537cc8.zip
youtube-dl-c38f06818df83f5f46cbdee1069bfaf53a537cc8.tar.gz
youtube-dl-c38f06818df83f5f46cbdee1069bfaf53a537cc8.tar.bz2
add support for Adobe Pass auth in tbs,tnt and trutv extractors(fixes #10642)(closes #10222)(closes #10519)
Diffstat (limited to 'youtube_dl/extractor/adobepass.py')
-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 01932e5..c787e09 100644
--- a/youtube_dl/extractor/adobepass.py
+++ b/youtube_dl/extractor/adobepass.py
@@ -83,7 +83,7 @@ class AdobePassIE(InfoExtractor):
'User-Agent': self._USER_AGENT,
}
- guid = xml_text(resource, 'guid')
+ guid = xml_text(resource, 'guid') if '<' in resource else resource
count = 0
while count < 2:
requestor_info = self._downloader.cache.load(self._MVPD_CACHE, requestor_id) or {}