Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Commit

Permalink
Campbelltown is in NSW
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 28, 2014
1 parent c6c5872 commit 035d76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def scrape_result_row(result_row)
puts "Saving record " + council_reference

record = { 'council_reference' => council_reference }
record['address'] = fields[4].search('span')[0].inner_text + ", " + titleize(fields[5].search('div')[0].inner_text) + ", VIC"
record['address'] = fields[4].search('span')[0].inner_text + ", " + titleize(fields[5].search('div')[0].inner_text) + ", NSW"
record['description'] = fields[1].search('div')[0].inner_text
record['date_received'] = Date.strptime(fields[2].search('span')[0].inner_text, '%d/%m/%Y').to_s
record['date_scraped'] = Date.today.to_s
Expand Down

1 comment on commit 035d76b

@daveslutzkin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, yes it is.

Please sign in to comment.