Skip to content

Instantly share code, notes, and snippets.

@nitink133
Created April 19, 2018 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitink133/ce2ae2c07e53e31df7ec7fa193df3ad6 to your computer and use it in GitHub Desktop.
Save nitink133/ce2ae2c07e53e31df7ec7fa193df3ad6 to your computer and use it in GitHub Desktop.
Data Crawler in python
import urllib2,sys
orig_stdout = sys.stdout
f = open('E:/Documents/sample.html', 'w')
sys.stdout = f
response=urllib2.urlopen("https://cracxpro.com/microsoft-office-2013-product-key-generator/")
source=response.read()
print source
sys.stdout = orig_stdout
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment