From 02f517fe75ce1776184e1a8b993c18a8bb6530ee Mon Sep 17 00:00:00 2001 From: AlexandruBratu <43742145+AlexandruBratu@users.noreply.github.com> Date: Tue, 26 Feb 2019 11:37:42 +0000 Subject: [PATCH] Update scraper.py --- scraper.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scraper.py b/scraper.py index 69bea68..936a67e 100644 --- a/scraper.py +++ b/scraper.py @@ -1,12 +1,13 @@ # 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("https://www.sdlauctions.co.uk/property-list/") +# print this +print(html) # # Find something on the page using css selectors # root = lxml.html.fromstring(html) # root.cssselect("div[align='left']")