Skip to content

Instantly share code, notes, and snippets.

@lseongjoo
Created February 24, 2013 01:36
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 lseongjoo/5022210 to your computer and use it in GitHub Desktop.
Save lseongjoo/5022210 to your computer and use it in GitHub Desktop.
import urllib
import BeautifulSoup
data = urllib.urlopen('http://www.fdic.gov/bank/individual/failed/banklist.html')
soup = BeautifulSoup.BeautifulSoup(data)
banklist = soup.find('table', attrs={'class', 'sortable'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment