Exemplo n.º 1
0
 def __init__(self, policy=None, check_expired_frequency=10000):
     self.policy = policy or DefaultCookiePolicy()
     self.jar = _CookieJar(self.policy)
     self.jar._cookies_lock = _DummyLock()
     self.check_expired_frequency = check_expired_frequency
     self.processed = 0
Exemplo n.º 2
0
 def __init__(self, policy=None, check_expired_frequency=10000):
     self.policy = policy or DefaultCookiePolicy()
     self.jar = _CookieJar(self.policy)
     self.jar._cookies_lock = _DummyLock()
     self.check_expired_frequency = check_expired_frequency
     self.processed = 0