inline list

This commit is contained in:
phan-ctrl 2019-08-27 09:02:23 +07:00 committed by GitHub
parent 18d9939ae3
commit 95adb8ece0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,8 +72,7 @@ class SafariBaseIE(InfoExtractor):
# and expects first one to be actually set
# Fix issue #22161
# We need 2 more cookies to be able to login to oreilly
cookies = ['groot_sessionid', 'orm-jwt', 'orm-rt']
for cookie in cookies:
for cookie in ('groot_sessionid', 'orm-jwt', 'orm-rt'):
self._apply_first_set_cookie_header(urlh, cookie)
_, urlh = self._download_webpage_handle(