def read_data(self, url):
try:
if self.allow_insecure:
return urllib2.urlopen(url, timeout=self.timeout, context=ssl._create_unverified_context()).read() # NOQA
else:
return urllib2.urlopen(url, timeout=self.timeout).read()
except Exception as e:
return e
# AppleLoops
评论列表
文章目录