This commit is contained in:
parent
4f13d45056
commit
157a8d55a1
|
@ -199,7 +199,7 @@ def get_session(cookiejar, *, with_cfscrape: bool) -> requests.Session:
|
|||
session_class = requests_cache.CachedSession
|
||||
if cfscrape:
|
||||
session_class = CachedCfScrape
|
||||
session = session_class('web_cache', cookies=cookiejar)
|
||||
session = session_class('output/web_cache', cookies=cookiejar)
|
||||
for cookie in cookiejar:
|
||||
session.cookies.set_cookie(cookie)
|
||||
return session
|
||||
|
|
Loading…
Reference in New Issue
Block a user