def __init__(self, options, handle=None):
self.handle = handle
self.opts = deepcopy(options)
# This is ugly but we don't want any fetches to fail - we expect
# to encounter unverified SSL certs!
if sys.version_info >= (2, 7, 9):
ssl._create_default_https_context = ssl._create_unverified_context
# Bit of a hack to support SOCKS because of the loading order of
# modules. sfscan will call this to update the socket reference
# to the SOCKS one.
评论列表
文章目录