Browse Source

Improve Northgate detection

Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short 3 years ago
parent
commit
6ae5f245f4
Signed by untrusted user: adrian GPG Key ID: 4B54F9AE91AB06BB
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/uk_planning_scraper/authority.rb

+ 1
- 1
lib/uk_planning_scraper/authority.rb View File

@@ -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…
Cancel
Save