change default value of 'cookies-update' to 'true'

This commit is contained in:
Mike Fährmann
2019-12-05 23:41:25 +01:00
parent 07dafad26d
commit e17907ee2a
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ class Extractor():
def _store_cookies(self):
"""Store the session's cookiejar in a cookies.txt file"""
if self._cookiefile and self.config("cookies-update", False):
if self._cookiefile and self.config("cookies-update", True):
cookiejar = http.cookiejar.MozillaCookieJar()
for cookie in self._cookiejar:
cookiejar.set_cookie(cookie)