Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLundSE26 committed Dec 14, 2017
1 parent 98fdfc0 commit 361bf75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scraper.py
Expand Up @@ -19,7 +19,10 @@ def search(mth):
return

result_dom = fromstring(result.content)


print len(result_dom.xpath("body"))
print len(result_dom.xpath("//div"))

applications = result_dom.xpath("//li[@class='searchresult']")

if len(applications) == 0:
Expand Down

0 comments on commit 361bf75

Please sign in to comment.