added switch --load-cookies

This commit is contained in:
Miroslav Stampar
2012-03-07 14:48:45 +00:00
parent 4cfea96471
commit b4cf8b05b3
5 changed files with 14 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ class Google:
def __init__(self, handlers):
self._matches = []
self._cj = cookielib.LWPCookieJar()
self._cj = cookielib.CookieJar()
handlers.append(urllib2.HTTPCookieProcessor(self._cj))