From 95adb8ece0e7c883c1729cb1155ed5eb67577310 Mon Sep 17 00:00:00 2001 From: phan-ctrl <54398886+phan-ctrl@users.noreply.github.com> Date: Tue, 27 Aug 2019 09:02:23 +0700 Subject: [PATCH] inline list --- youtube_dl/extractor/safari.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/youtube_dl/extractor/safari.py b/youtube_dl/extractor/safari.py index 7dc968b9a..7e6322b8e 100644 --- a/youtube_dl/extractor/safari.py +++ b/youtube_dl/extractor/safari.py @@ -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(