def get_o_site(self):
self.o_site = ""
try:
index = string.rfind(self.page, u'title="oficiální web"')
if index > 0:
tmp = gutils.before(self.page, u'title="oficiální web"')
index = string.rfind(tmp, 'href="')
if index > 0:
self.o_site = gutils.trim(tmp[index:], '"', '"')
except:
pass
评论列表
文章目录