Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsbertdalen committed Nov 10, 2018
1 parent 73ad930 commit 414dc57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -10,7 +10,7 @@

# scrape_table function: gets passed an individual page to scrape
def scrape_table(root):
rows = root.cssselect("p.ex1 TR") # selects all <tr> blocks within <table class="Trolley table">
rows = root.cssselect("table.border") # selects all <tr> blocks within <table class="Trolley table">
for row in rows:
# Set up our data record - we'll need it later
record = {}
Expand Down

0 comments on commit 414dc57

Please sign in to comment.