瀏覽代碼

Improve Northgate detection

Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short 3 年之前
父節點
當前提交
6ae5f245f4
Signed by untrusted user: adrian GPG 金鑰 ID: 4B54F9AE91AB06BB
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      lib/uk_planning_scraper/authority.rb

+ 1
- 1
lib/uk_planning_scraper/authority.rb 查看文件

@@ -70,7 +70,7 @@ module UKPlanningScraper
def system
if @url.match(/search\.do\?action=advanced/i)
'idox'
elsif @url.match(/\.aspx/i)
elsif @url.match(/generalsearch/i)
'northgate'
elsif @url.match(/ocellaweb/i)
'ocellaweb'


Loading…
取消
儲存