浏览代码

Skip Bolton because it doesn't work on Morph

Works locally. OpenSSL "unknown protocol" error.

https://github.com/adrianshort/uk_planning_scraper/issues/7
master
Adrian Short 5 年前
父节点
当前提交
4835947340
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      scraper.rb

+ 1
- 0
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'})


正在加载...
取消
保存