From d4a9cba218c0bb3df617146b8927f108631316b7 Mon Sep 17 00:00:00 2001 From: bhamboss <43509567+bhamboss@users.noreply.github.com> Date: Sat, 22 Sep 2018 21:32:14 -0700 Subject: [PATCH] Fix SSO with Xfinity Changes to the auth redirect broke the Comcast_SSO provider. --- 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 1cf2dcbf3..4aad3d40b 100644 --- a/youtube_dl/extractor/adobepass.py +++ b/youtube_dl/extractor/adobepass.py @@ -1433,6 +1433,14 @@ class AdobePassIE(InfoExtractor): provider_redirect_page, 'oauth redirect') 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://oauth.xfinity.com/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 '