Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chadskelton committed Jun 26, 2019
1 parent 6f940ba commit 7b250d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scraper.py
Expand Up @@ -148,11 +148,13 @@ def scrape_bcpc(url):

soup = BeautifulSoup(htmlpage)

table = soup.find ("div", {"class" : "view-content"})
# table = soup.find ("div", {"class" : "view-content"})

print table
# print table

decisions = table.findAll ("a")
# decisions = table.findAll ("a")

decisions = soup.findAll ("span", {"class":"title'})

for decision in decisions:
record = {}
Expand Down

0 comments on commit 7b250d7

Please sign in to comment.