mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[adobepass] Detect and output error on authz token extraction (#12472)
This commit is contained in:
		| @@ -1458,6 +1458,8 @@ class AdobePassIE(InfoExtractor): | ||||
|                     self._downloader.cache.store(self._MVPD_CACHE, requestor_id, {}) | ||||
|                     count += 1 | ||||
|                     continue | ||||
|                 if '<error' in authorize: | ||||
|                     raise ExtractorError(xml_text(authorize, 'details'), expected=True) | ||||
|                 authz_token = unescapeHTML(xml_text(authorize, 'authzToken')) | ||||
|                 requestor_info[guid] = authz_token | ||||
|                 self._downloader.cache.store(self._MVPD_CACHE, requestor_id, requestor_info) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․