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 7caaec5 commit 071b6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
# root = html.fromstring(page)

root = lxml.html.fromstring("C:/Users/usuario/Documents/Diaris/ElMon.html")
articles = root.cssselect('span[starts-with(@class, 'author')]')
articles = root.cssselect('span[starts-with(@class, "author")]')

for article in articles:
record = {}
Expand Down

0 comments on commit 071b6f2

Please sign in to comment.