From 4b90bd1ed3a85559fbf82fcc699f5fd382bf87e0 Mon Sep 17 00:00:00 2001 From: seananaidu Date: Wed, 15 Feb 2017 19:19:17 -0800 Subject: [PATCH] Update scraper.py --- scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.py b/scraper.py index cbc8245..930903b 100644 --- a/scraper.py +++ b/scraper.py @@ -25,7 +25,7 @@ print "There are",len(pages),"pages" # # For each page in the document and for each element in a page -for page in pages: +for page in pages[3:4]: for el in page: # # If the element is tagged as text, print our that text and its attribute if el.tag == "text":