Ver código fonte

Improve Northgate detection

Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short 3 anos atrás
pai
commit
6ae5f245f4
Signed by untrusted user: adrian ID da chave GPG: 4B54F9AE91AB06BB
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      lib/uk_planning_scraper/authority.rb

+ 1
- 1
lib/uk_planning_scraper/authority.rb Ver arquivo

@@ -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'


Carregando…
Cancelar
Salvar