mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 17:41:01 +01:00
[extractor/adobepass] Handle Charter_Direct
MSO as Spectrum
(#6824)
Authored by: bashonly
This commit is contained in:
parent
9874e82b5a
commit
ea05708203
@ -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 New Issue
Block a user