diff --git a/youtube_dl/extractor/adobepass.py b/youtube_dl/extractor/adobepass.py index b6d215a554..12eeab271c 100644 --- a/youtube_dl/extractor/adobepass.py +++ b/youtube_dl/extractor/adobepass.py @@ -1376,19 +1376,23 @@ class AdobePassIE(InfoExtractor): provider_redirect_page, urlh = provider_redirect_page_res # Check for Comcast auto login if 'automatically signing you in' in provider_redirect_page: - oauth_redirect_url = self._html_search_regex(r'window\.location\s*=\s*[\'"]([^\'"]+)', + oauth_redirect_url = self._html_search_regex( + r'window\.location\s*=\s*[\'"]([^\'"]+)', provider_redirect_page, 'oauth redirect') # Just need to process the request. No useful data comes back - self._download_webpage(oauth_redirect_url, video_id, 'Confirming auto login') + self._download_webpage( + oauth_redirect_url, video_id, 'Confirming auto login') else: if '