aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom-Oliver Heidel <github@tom-oliver.eu>2020-10-31 09:15:15 +0100
committerGitHub <noreply@github.com>2020-10-31 09:15:15 +0100
commit200959ec764e5d44849118bd8b4132230625a494 (patch)
treeff3931b3c83da1c91bd80693ab3de86865086fab
parent4f519136803d020e40e33981222f7bf38cac9f20 (diff)
parent3086aa194fcacd4e12e9b266ec046c991bd07f2a (diff)
downloadhypervideo-pre-200959ec764e5d44849118bd8b4132230625a494.tar.lz
hypervideo-pre-200959ec764e5d44849118bd8b4132230625a494.tar.xz
hypervideo-pre-200959ec764e5d44849118bd8b4132230625a494.zip
Merge pull request #61 from merval/merval/comcast_sso_fix
Added Comcast_SSO fix
-rw-r--r--youtube_dlc/extractor/adobepass.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/adobepass.py b/youtube_dlc/extractor/adobepass.py
index 38dca1b0a..649f9940f 100644
--- a/youtube_dlc/extractor/adobepass.py
+++ b/youtube_dlc/extractor/adobepass.py
@@ -1438,6 +1438,13 @@ 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 '<form name="signin"' in provider_redirect_page:
provider_login_page_res = provider_redirect_page_res