Skip to content

Instantly share code, notes, and snippets.

@sisiwei
Created September 6, 2014 18:38
Show Gist options
  • Save sisiwei/55bdcd8c5d31fe6fb3bd to your computer and use it in GitHub Desktop.
Save sisiwei/55bdcd8c5d31fe6fb3bd to your computer and use it in GitHub Desktop.
import requests
import csv
from BeautifulSoup import BeautifulSoup
url = http://www.showmeboone.com/sheriff/JailResidents/JailResidents.asp
# Open the HTML file and turn it into a BeautifulSoup object for parsing
response = requests.get(url)
html = response.content
soup = BeautifulSoup(html)
print soup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment