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

Commit

Permalink
Fraser coast is in QLD
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Apr 8, 2014
1 parent 669dda7 commit 7e645ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -12,7 +12,7 @@ def scrape_page(page, comment_url)
"council_reference" => tds[1],
"date_received" => Date.new(year, month, day).to_s,
"description" => tds[3].gsub("&amp;", "&").split("<br>")[1].squeeze(" ").strip,
"address" => tds[3].gsub("&amp;", "&").split("<br>")[0].gsub("\r", " ").gsub("<strong>","").gsub("</strong>","").squeeze(" ").strip + ", NSW",
"address" => tds[3].gsub("&amp;", "&").split("<br>")[0].gsub("\r", " ").gsub("<strong>","").gsub("</strong>","").squeeze(" ").strip + ", QLD",
"date_scraped" => Date.today.to_s,
"comment_url" => comment_url
}
Expand Down

0 comments on commit 7e645ef

Please sign in to comment.