Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vicoliveres committed Mar 8, 2018
1 parent abd131f commit 67ca51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -16,7 +16,7 @@

record['Name'] = restaurant.cssselect("h2")
record['Address'] = restaurant.cssselect("div.address")
record['Postcode'] = restaurant.cssselect("div[@class='address']//div[@class='postcode']")
record['Postcode'] = restaurant.cssselect("//div['address']//div['postcode']")
record['Company'] = "Wagamama"

print record, '------------'
Expand Down

0 comments on commit 67ca51e

Please sign in to comment.