From cc1e88aa5d4441e98a723c2c9c9fcf712888fc5e Mon Sep 17 00:00:00 2001 From: Denis Gladkikh Date: Mon, 21 Nov 2016 07:54:39 -0800 Subject: [PATCH] Comcast_SSO another way how Comcast can autologin users Fixes #11257 --- youtube_dl/extractor/adobepass.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/youtube_dl/extractor/adobepass.py b/youtube_dl/extractor/adobepass.py index 12eeab271..0448c5710 100644 --- a/youtube_dl/extractor/adobepass.py +++ b/youtube_dl/extractor/adobepass.py @@ -1382,6 +1382,14 @@ class AdobePassIE(InfoExtractor): # Just need to process the request. No useful data comes back self._download_webpage( oauth_redirect_url, video_id, 'Confirming auto login') + elif 'automatically signed in with' in provider_redirect_page: + # Seems like comcast is rolling up new way of automatically signing customers + oauth_redirect_url = self._html_search_regex( + r'continue:\s*"(https://login.comcast.net/oauth/authorize\?.+)"', + provider_redirect_page, 'oauth redirect (signed)') + # Just need to process the request. No useful data comes back + self._download_webpage( + oauth_redirect_url, video_id, 'Confirming auto login') else: if '