Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Meme module for internets.
- import urllib
- from BeautifulSoup import BeautifulSoup
- import sys
- url = urllib.urlopen("http://api.automeme.net/text")
- soup = BeautifulSoup(url)
- print soup.pre.string.split("\n")[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement