Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraJourno committed Feb 26, 2019
1 parent 1980bf6 commit 4551b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -5,12 +5,12 @@
import lxml.html
#
# # Read in a page
html = scraperwiki.scrape("https://www.sdlauctions.co.uk/property-list/")
html=scraperwiki.scrape("https://www.sdlauctions.co.uk/property-list/")
#print the HTML variable containing the webpage
#print(html)

# # Find something on the page using css selectors
root = lxml.html.fromstring(html)
root=lxml.html.fromstring(html)
root.cssselect("li p a")
#
#Change "div[align='left']" to a different CSS selector to grab something else.
Expand Down

0 comments on commit 4551b90

Please sign in to comment.