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 13, 2017
1 parent 72da000 commit 5149830
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scraper.py
Expand Up @@ -84,7 +84,9 @@ def search():
ward = "".join(cols[3].xpath('text()')).strip()

sleep(2)


print "GET " + urlBase + link

result1 = requests.get(urlBase + link)
result_dom1 = fromstring(result1.content)
mgUserBody = result_dom.xpath("//div[@class='mgUserBody']")[0]
Expand Down

0 comments on commit 5149830

Please sign in to comment.