]> jfr.im git - yt-dlp.git/commitdiff
[extractor/adobepass] Handle `Charter_Direct` MSO as `Spectrum` (#6824)
authorbashonly <redacted>
Sun, 16 Apr 2023 17:01:19 +0000 (12:01 -0500)
committerGitHub <redacted>
Sun, 16 Apr 2023 17:01:19 +0000 (17:01 +0000)
Authored by: bashonly

yt_dlp/extractor/adobepass.py

index e5944f7146c239cf181eac5bb3c87de373870224..68a970f68c6c7e701245d0b9726b12495261e11c 100644 (file)
@@ -1573,7 +1573,7 @@ def extract_redirect_url(html, url=None, fatal=False):
                         }), headers={
                             'Content-Type': 'application/x-www-form-urlencoded'
                         })
-                elif mso_id == 'Spectrum':
+                elif mso_id in ('Spectrum', 'Charter_Direct'):
                     # Spectrum's login for is dynamically loaded via JS so we need to hardcode the flow
                     # as a one-off implementation.
                     provider_redirect_page, urlh = provider_redirect_page_res