Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandruBratu committed Feb 26, 2019
1 parent 526eb89 commit b1d7066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -14,7 +14,7 @@
matchedlinks=root.cssselect("li p a")
# print(matchedlinks)
record={}
for li in matchedlinks:
for li in matchedlinks[:100]:
listtext=li.text_content()
print(listtext.encode('utf-8'))
record['address'] = listtext
Expand Down

0 comments on commit b1d7066

Please sign in to comment.