def __http_get(self, url, timeout = 3):
try:
r = urllib2.urlopen(url, timeout = timeout)
return json.load(r)
except urllib2.URLError as e:
self.__logger.error("Error fetching %s - %s", url, e.reason)
评论列表
文章目录