Drop HTTPS SSL certificate verification

Breaks everything with python 3. Now built-in in recent python 2.7.9 and python 3.4-ish
This commit is contained in:
2015-04-06 22:54:59 +08:00
parent 88af80e817
commit f2fe4fc364
2 changed files with 3 additions and 91 deletions

View File

@@ -232,8 +232,7 @@ class Cache:
return self
default_handlers = [crawler.VerifiedHTTPSHandler(ca_certs=CA_CERT),
crawler.GZIPHandler(), crawler.UAHandler(DEFAULT_UA),
default_handlers = [crawler.GZIPHandler(), crawler.UAHandler(DEFAULT_UA),
crawler.AutoRefererHandler(), crawler.MetaRedirectHandler(),
crawler.EncodingFixHandler()]