Skip to content

Commit

Permalink
[extractor/adobepass] Handle Charter_Direct MSO as Spectrum (yt-d…
Browse files Browse the repository at this point in the history
…lp#6824)

Authored by: bashonly
  • Loading branch information
bashonly authored Apr 16, 2023
1 parent 9874e82 commit ea05708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/adobepass.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea05708

Please sign in to comment.