update fix for safari
This commit is contained in:
parent
b9b34b70d2
commit
18d9939ae3
@ -70,11 +70,11 @@ class SafariBaseIE(InfoExtractor):
|
|||||||
|
|
||||||
# oreilly serves two same groot_sessionid cookies in Set-Cookie header
|
# oreilly serves two same groot_sessionid cookies in Set-Cookie header
|
||||||
# and expects first one to be actually set
|
# and expects first one to be actually set
|
||||||
self._apply_first_set_cookie_header(urlh, 'groot_sessionid')
|
|
||||||
# Fix issue #22161
|
# Fix issue #22161
|
||||||
# We need 2 more cookies to be able to login to oreilly
|
# We need 2 more cookies to be able to login to oreilly
|
||||||
self._apply_first_set_cookie_header(urlh, 'orm-jwt')
|
cookies = ['groot_sessionid', 'orm-jwt', 'orm-rt']
|
||||||
self._apply_first_set_cookie_header(urlh, 'orm-rt')
|
for cookie in cookies:
|
||||||
|
self._apply_first_set_cookie_header(urlh, cookie)
|
||||||
|
|
||||||
_, urlh = self._download_webpage_handle(
|
_, urlh = self._download_webpage_handle(
|
||||||
auth.get('redirect_uri') or next_uri, None, 'Completing login',)
|
auth.get('redirect_uri') or next_uri, None, 'Completing login',)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user