Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib
- from BeautifulSoup import BeautifulSoup
- f = urllib.urlopen("http://rscript.org/lookup.php?type=fml")
- soup = BeautifulSoup(f)
- print soup
- if 'ID' in soup:
- print("yes")
- else:
- print("no")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement