planningalerts-scrapers / saplanningportal

South Australia Development Applications - SA Planning Portal


South Australia (SA) Planning Portal scraper

Add any issues to https://github.com/planningalerts-scrapers/issues/issues

  • Server - .NET
  • Cookie tracking - No
  • Pagnation - Yes
  • Javascript - No
  • Ajax - Yes
  • Clearly defined data within a record - Yes
  • Scrape detail page - No

Setup MORPH_PERIOD for data recovery, available options are

  • thisweek (default)
  • thismonth
  • lastmonth
  • ~~year (ie. 2017, min 2003)~~

Enjoy

Contributors LoveMyData MichaelBone mlandauer

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.5.3 -----> Installing dependencies using bundler version 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.  Fetching gem metadata from https://rubygems.org/......  Fetching version metadata from https://rubygems.org/.  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Using bundler 1.15.2  Fetching connection_pool 2.2.2  Fetching unf_ext 0.0.7.5  Fetching httpclient 2.8.3  Installing connection_pool 2.2.2  Installing httpclient 2.8.3  Installing unf_ext 0.0.7.5 with native extensions  Fetching json 2.2.0  Installing json 2.2.0 with native extensions  Fetching mime-types-data 3.2018.0812  Installing mime-types-data 3.2018.0812  Fetching net-http-digest_auth 1.4.1  Installing net-http-digest_auth 1.4.1  Fetching mini_portile2 2.4.0  Installing mini_portile2 2.4.0  Fetching ntlm-http 0.1.1  Installing ntlm-http 0.1.1  Fetching webrobots 0.1.2  Installing webrobots 0.1.2  Fetching rubysl-base64 2.0.0  Installing rubysl-base64 2.0.0  Fetching sqlite3 1.4.0  Installing sqlite3 1.4.0 with native extensions  Fetching net-http-persistent 3.0.0  Installing net-http-persistent 3.0.0  Fetching mime-types 3.2.2  Installing mime-types 3.2.2  Fetching nokogiri 1.10.1  Installing nokogiri 1.10.1 with native extensions  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.20180417  Installing domain_name 0.5.20180417  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  Fetching mechanize 2.7.6  Installing mechanize 2.7.6  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 4 Gemfile dependencies, 21 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (25.38s)  Cleaning up the bundler cache.  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Getting 'Last 14 Days' data, changeable using the MORPH_PERIOD environment variable {"CSSClass":"","CSV":"","Children":[],"ContentType":"text\/json","Control":"","Count":0,"CountFilter":0,"Descriptor":"","Fields":{"Count":7,"Fields":[{"CSSClass":"pr.int","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"int","Editable":false,"FieldCode":"AppId","FieldFormat":null,"FieldID":null,"FieldLabel":"ID","FieldName":null,"FieldType":"int","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":true,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":true,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":true,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":false,"cssControlClass":null},{"CSSClass":"asLink","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"DevNo","FieldFormat":null,"FieldID":null,"FieldLabel":"Reference number","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Applicant","FieldFormat":null,"FieldID":null,"FieldLabel":"Applicant","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Addr","FieldFormat":null,"FieldID":null,"FieldLabel":"Property address","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"DevDesc","FieldFormat":null,"FieldID":null,"FieldLabel":"Description","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Lodged","FieldFormat":"{0:dd\/MM\/yyyy}","FieldID":null,"FieldLabel":"Lodged","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Base","FieldFormat":null,"FieldID":null,"FieldLabel":"ID","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":true,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":true,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":true,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":false,"cssControlClass":null}]},"HideIfEmpty":false,"IsDeletable":false,"IsEditable":false,"IsInsertable":false,"SortParameters":[{"Key":"LodgedNew","Value":"Lodged Date (newest first)"},{"Key":"LodgedOld","Value":"Lodged Date (oldest first)"},{"Key":"AppIdUp","Value":"ApplicationID (A to Z)"},{"Key":"AppIdDown","Value":"ApplicationID (Z to A)"}],"Status":"OK","StatusMessage":"Resultset built","Values":[],"buttonText":"","jsRowBuilt":"","jsSubmit":""} Scraping page 1 of 1 {"CSSClass":"","CSV":"","Children":[],"ContentType":"text\/json","Control":"","Count":0,"CountFilter":0,"Descriptor":"","Fields":{"Count":7,"Fields":[{"CSSClass":"pr.int","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"int","Editable":false,"FieldCode":"AppId","FieldFormat":null,"FieldID":null,"FieldLabel":"ID","FieldName":null,"FieldType":"int","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":true,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":true,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":true,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":false,"cssControlClass":null},{"CSSClass":"asLink","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"DevNo","FieldFormat":null,"FieldID":null,"FieldLabel":"Reference number","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Applicant","FieldFormat":null,"FieldID":null,"FieldLabel":"Applicant","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Addr","FieldFormat":null,"FieldID":null,"FieldLabel":"Property address","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"DevDesc","FieldFormat":null,"FieldID":null,"FieldLabel":"Description","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Lodged","FieldFormat":"{0:dd\/MM\/yyyy}","FieldID":null,"FieldLabel":"Lodged","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":false,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":false,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":false,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":true,"cssControlClass":null},{"CSSClass":"pr.string","ChildParameter":false,"ConditionalParameter":false,"ControlType":"textbox","DataObject":null,"DataType":"string","Editable":false,"FieldCode":"Base","FieldFormat":null,"FieldID":null,"FieldLabel":"ID","FieldName":null,"FieldType":"string","FireOnChange":false,"ForeignKey":false,"GroupCode":null,"GroupLabel":null,"Hidden":true,"InSelect":true,"Insert":false,"JavascriptClick":null,"JavascriptOver":null,"KeyField":true,"LookupValues":[],"Mandatory":false,"MandatoryMsg":null,"MayFilter":true,"MayOrder":false,"MimeType":null,"MouseoverField":false,"NullValue":"-","Params":null,"ParentControl":null,"SendKeyValue":true,"Tooltip":null,"ValidationType":"NONE","ValidationValues":[],"Visible":false,"cssControlClass":null}]},"HideIfEmpty":false,"IsDeletable":false,"IsEditable":false,"IsInsertable":false,"SortParameters":[{"Key":"LodgedNew","Value":"Lodged Date (newest first)"},{"Key":"LodgedOld","Value":"Lodged Date (oldest first)"},{"Key":"AppIdUp","Value":"ApplicationID (A to Z)"},{"Key":"AppIdDown","Value":"ApplicationID (Z to A)"}],"Status":"OK","StatusMessage":"Resultset built","Values":[],"buttonText":"","jsRowBuilt":"","jsSubmit":""}

Data

Downloaded 1399 times by openaustralia jesse-a-reilly dcalde DevAppProject softgrow tobiasoberrauch Jedwards157 MichaelBone

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (2.81 MB) Use the API

rows 10 / 9466

id council_reference address description info_url comment_url date_scraped date_received
1
252/D341/17
Wattle Street Brompton, SA
Boundary Realignment. Torrens Title division. 2 semi-detached dwellings. 1 detached dwelling.
2017-10-17
2017-10-15
2
040/D295/17
17-23 Ashburton Street Blair Athol, SA
Land Division
2017-10-17
2017-10-13
3
145/D202/17
Valley View Drive McLaren Vale, SA
1 in to 2 land division
2017-10-17
2017-10-13
4
170/D195/17
Andrea Avenue Newton, SA
Torrens Title land division. One allotment into three. Existing dwelling to be demolished.
2017-10-17
2017-10-13
5
170/D196/17
8-10 Gilbert Street NEWTON, SA
1 into 4 Torrens division
2017-10-17
2017-10-13
6
211/D172/17
37 and 39 Malurus Avenue Lockleys, SA
division of land to create 3 new allotments from the existing two.
2017-10-17
2017-10-13
7
361/D188/17
19 Uranbo Street Salisbury North, SA
Torrens Land Division. One Allotment into Two Allotments.
2017-10-17
2017-10-13
8
361/D189/17
7 Gilbert Street Ingle Farm, SA
Land Division
2017-10-17
2017-10-13
9
100/D241/17
9 Rosedale Avenue Morphettville, SA
Division of land to create two new Torrens title allotments
2017-10-17
2017-10-12
10
100/D242/17
19 Lawson Avenue Morphettville, SA
Division of land to create two new Torrens title allotments
2017-10-17
2017-10-12

Statistics

Average successful run time: 2 minutes

Total run time: 1 day

Total cpu time used: 22 minutes

Total disk space used: 2.89 MB

History

  • Auto ran revision 702f6c41 and completed successfully .
    nothing changed in the database
  • Auto ran revision 702f6c41 and completed successfully .
    41 records added, 39 records removed, 1 record updated in the database
  • Auto ran revision 702f6c41 and completed successfully .
    37 records added, 34 records removed, 1 record updated in the database
  • Auto ran revision 702f6c41 and completed successfully .
    43 records added, 43 records removed, 1 record updated in the database
  • Auto ran revision 702f6c41 and completed successfully .
    42 records added, 35 records removed, 1 record updated in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

saplanningportal / scraper.rb