Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandruBratu committed Feb 26, 2019
1 parent 9df3033 commit 02f517f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions 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']")
Expand Down

0 comments on commit 02f517f

Please sign in to comment.