Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbradshaw committed Mar 4, 2016
1 parent df3008a commit fe1753e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -12,7 +12,7 @@
root = lxml.html.fromstring(html)
# # Find something on the page using css selectors
jobtitles = root.cssselect("ul li a h3 span.job-list-title")
for jobhtml in jobtitles:
for job in jobtitles:
jobhtml = lxml.html.tostring(job)
jobhtmlpart1 = jobhtml.split('>')[1]
jobhtmlpart2 = jobhtmlpart1.split('<')[0]
Expand Down

0 comments on commit fe1753e

Please sign in to comment.