Skip to content

Instantly share code, notes, and snippets.

@FelixChop
Created June 1, 2018 09:38
Show Gist options
  • Select an option

  • Save FelixChop/a0b12e6d39bcb14c84aed6d17f642f5c to your computer and use it in GitHub Desktop.

Select an option

Save FelixChop/a0b12e6d39bcb14c84aed6d17f642f5c to your computer and use it in GitHub Desktop.
import bs4
soup = bs4.BeautifulSoup(page.content, 'lxml')
table = soup.find(name='table', attrs={'id':'tableID'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment