Created
October 19, 2016 00:51
-
-
Save leveled/f09728185d8b760781df8d7b32b30abc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
br = mechanize.Browser() | |
cj = cookielib.LWPCookieJar() | |
br.set_cookiejar(cj) | |
br.set_handle_robots(False) | |
br.addheaders=[('User-agent','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11; rv:33.0) Gecko/20100101 Firefox/33.0')] | |
response = br.open("https://www.guerrillamail.com/") #create email | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment