Permalink
Browse files

Fix address population

  • Loading branch information...
CloCkWeRX committed Sep 22, 2014
1 parent 7486c26 commit c68b0d2a3e9b2c0df52a9aa9078e5be97afcf1c6
Showing with 1 addition and 1 deletion.
  1. +1 −1 scraper.rb
View
@@ -22,7 +22,7 @@ def scrape_page(page)
def save_record(council_reference, cells)
record = {
'council_reference' => council_reference,
'address' => cells[5].search("a").text,
'address' => cells[3].text,
'description' => cells[2].text,
'info_url' => 'https://ecouncil.portenf.sa.gov.au/T1PRWebPROD/eProperty/P1/eTrack/eTrackApplicationSearch.aspx?r=P1.WEBGUEST&f=%24P1.ETR.SEARCH.ENQ',
'comment_url' => 'mailto:info@portenf.sa.gov.au',

5 comments on commit c68b0d2

@CloCkWeRX

This comment has been minimized.

Show comment
Hide comment
@CloCkWeRX

CloCkWeRX Sep 22, 2014

Owner

@henare or @mlandauer - Any chance of forking? Covers ~112,812 folks according to 2011 census

Owner

CloCkWeRX replied Sep 22, 2014

@henare or @mlandauer - Any chance of forking? Covers ~112,812 folks according to 2011 census

@henare

This comment has been minimized.

Show comment
Hide comment
@henare

henare Sep 23, 2014

Address is missing: #1

henare replied Sep 23, 2014

Address is missing: #1

@CloCkWeRX

This comment has been minimized.

Show comment
Hide comment
@CloCkWeRX

CloCkWeRX Sep 23, 2014

Owner

Really? The above commit fixed that, I could swear :/

Will take another look

Owner

CloCkWeRX replied Sep 23, 2014

Really? The above commit fixed that, I could swear :/

Will take another look

@CloCkWeRX

This comment has been minimized.

Show comment
Hide comment
@CloCkWeRX

CloCkWeRX Sep 23, 2014

Owner

Take a peek at https://morph.io/CloCkWeRX/port_adelaide_enfield - I just cleared DB/Re-ran.

Owner

CloCkWeRX replied Sep 23, 2014

Take a peek at https://morph.io/CloCkWeRX/port_adelaide_enfield - I just cleared DB/Re-ran.

@henare

This comment has been minimized.

Show comment
Hide comment
Please sign in to comment.