|
@@ -9,7 +9,7 @@ auths.each_with_index do |auth, i| |
|
|
apps = auth.scrape({ decided_days: ENV['MORPH_DAYS'].to_i }) |
|
|
apps = auth.scrape({ decided_days: ENV['MORPH_DAYS'].to_i }) |
|
|
ScraperWiki.save_sqlite([:authority_name, :council_reference], apps) |
|
|
ScraperWiki.save_sqlite([:authority_name, :council_reference], apps) |
|
|
puts "#{auth.name}: #{apps.size} application(s) saved." |
|
|
puts "#{auth.name}: #{apps.size} application(s) saved." |
|
|
rescue UKPlanningScraper::SystemNotSupportedError => e |
|
|
|
|
|
|
|
|
rescue UKPlanningScraper::SystemNotSupported => e |
|
|
puts e |
|
|
puts e |
|
|
end |
|
|
end |
|
|
end |
|
|
end |