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']")