Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #############################################
- ## Search any Anime in NontonAnime.web.id ##
- ## Code Made by Thelorgorenk ##
- #############################################
- if cmd =="nas":
- sex = args
- data = urlreq.urlopen("http://nontonanime.web.id/?s="+sex+"&post_type=anime")
- udict = data.read().decode("utf-8")
- data = re.findall('<h2><a href="(.*?)">(.*?)</a>', udict)
- newset = list()
- num = 1
- for link, title in data:
- newset.append(("(%s) <b>%s</b> - %s") % (num, title, link))
- num = num+1
- room.message("This is the contain Search in NontonAnime.web.id: <br/>"+"<br/>".join(newset[0:10]),True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement