Created
April 19, 2018 06:01
-
-
Save nitink133/ce2ae2c07e53e31df7ec7fa193df3ad6 to your computer and use it in GitHub Desktop.
Data Crawler in python
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
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