From b1d706657ebe9cc36bf4174653cb42f21173b0e0 Mon Sep 17 00:00:00 2001 From: AlexandruBratu <43742145+AlexandruBratu@users.noreply.github.com> Date: Tue, 26 Feb 2019 12:21:06 +0000 Subject: [PATCH] Update scraper.py --- scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.py b/scraper.py index 8971c98..dcc9dff 100644 --- a/scraper.py +++ b/scraper.py @@ -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