RintoMuhamad

dadaw

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