Created
February 29, 2016 14:21
-
-
Save AndyNovo/25b1dcacfd565d498112 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
#scraping a site in Python | |
import urllib2, re | |
res = urllib2.urlopen('http://www.befria.nu/elias/pi/binpi.html') | |
html = res.read() | |
chunks = re.findall('([01]{8}) ', html) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment