mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
[extractor/adobepass] Handle Charter_Direct
MSO as Spectrum
(#6824)
Authored by: bashonly
This commit is contained in:
parent
9874e82b5a
commit
ea05708203
1 changed files with 1 additions and 1 deletions
|
@ -1573,7 +1573,7 @@ def extract_redirect_url(html, url=None, fatal=False):
|
||||||
}), headers={
|
}), headers={
|
||||||
'Content-Type': 'application/x-www-form-urlencoded'
|
'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
|
# Spectrum's login for is dynamically loaded via JS so we need to hardcode the flow
|
||||||
# as a one-off implementation.
|
# as a one-off implementation.
|
||||||
provider_redirect_page, urlh = provider_redirect_page_res
|
provider_redirect_page, urlh = provider_redirect_page_res
|
||||||
|
|
Loading…
Reference in a new issue