From 483594734031b996e57a2215148e111b9f811440 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Thu, 20 Sep 2018 17:28:32 +0100 Subject: [PATCH] Skip Bolton because it doesn't work on Morph Works locally. OpenSSL "unknown protocol" error. https://github.com/adrianshort/uk_planning_scraper/issues/7 --- scraper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/scraper.rb b/scraper.rb index b3dc83f..e62c1c5 100644 --- a/scraper.rb +++ b/scraper.rb @@ -4,6 +4,7 @@ require 'scraperwiki' auths = UKPlanningScraper::Authority.all auths.each_with_index do |auth, i| + next if auth.name == 'Bolton' # https://github.com/adrianshort/uk_planning_scraper/issues/7 puts "#{i + 1} of #{auths.size}: #{auth.name}" begin apps = auth.scrape({ validated_days: ENV['MORPH_DAYS'].to_i, keywords: 'inlink'})