Skip to content

Instantly share code, notes, and snippets.

@zeldani
Created February 27, 2014 14:24
Show Gist options
  • Save zeldani/9251035 to your computer and use it in GitHub Desktop.
Save zeldani/9251035 to your computer and use it in GitHub Desktop.
import urllib2
url = raw_input("Site: ")
usock = urllib2.urlopen(url)
data = usock.read()
usock.close()
print data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment