import urllib.request as req
import re
def Fn(n):
try:
mode=req.urlopen('http://www.ttmeiju.vip/latest-%d.html'%n)
data=str(mode.read(),encoding='utf-8')
nameArr=re.findall('target=\'_blank\' title=\"(.*?)\">',data)
for i in range(0,len(nameArr)):
nameArr[i]=nameArr[i].split(' ')[0]
return nameArr
except Exception as e:
print(e)
if __name__=='__main__':
arr=[]
want='权力的游戏'
for t in range(7):
arr+=Fn(t)
print(list(set(arr)))
if want in arr:
print('yes')