From 3882023dded4604b163a4e0f89cb516be1446b74 Mon Sep 17 00:00:00 2001 From: Paul Bradshaw Date: Thu, 22 Feb 2018 17:26:11 +0000 Subject: [PATCH] Update scraper.py --- scraper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scraper.py b/scraper.py index 69bea68..546e718 100644 --- a/scraper.py +++ b/scraper.py @@ -1,11 +1,11 @@ # This is a template for a Python scraper on morph.io (https://morph.io) # including some code snippets below that you should find helpful -# import scraperwiki -# import lxml.html +import scraperwiki +import lxml.html # # # Read in a page -# html = scraperwiki.scrape("http://foo.com") +html = scraperwiki.scrape("http://foo.com") # # # Find something on the page using css selectors # root = lxml.html.fromstring(html)