Skip to content

Commit

Permalink
specify lxml parser in bs4
Browse files Browse the repository at this point in the history
  • Loading branch information
petrbouchal committed Jun 30, 2016
1 parent 0583c7d commit a2b92a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_minscrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def scrapejobs(timestamp, bodydata):
page = open_checksnag(bodydata['jobsurl'])
page = page.read()
# print(page)
page = BeautifulSoup(page)
page = BeautifulSoup(page, "lxml")
jobslist = []

jobs = page.select(bodydata['jobtitledata']['itemselect'])
Expand Down

0 comments on commit a2b92a1

Please sign in to comment.