Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if cmd =="am":
- resp = urlreq.urlopen("http://animeku.tv/").read().decode("utf-8")
- data = re.findall('<h2><a href="(.*?)">(.*?)</a>', resp)
- newset = list()
- num = 1
- for link, title in data:
- newset.append(("(%s) <b>%s</b> - %s") % (num, title, link))
- num = num+1
- room.message("New Update"+args+" on animekutv: <br/>"+"<br/>".join(newset[0:5]),True)
Advertisement
Add Comment
Please, Sign In to add comment