Sfoglia il codice sorgente

Improve Northgate detection

Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short 3 anni fa
parent
commit
6ae5f245f4
Firmato da un utente non attendibile: adrian ID Chiave GPG: 4B54F9AE91AB06BB
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      lib/uk_planning_scraper/authority.rb

+ 1
- 1
lib/uk_planning_scraper/authority.rb Vedi 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'


Caricamento…
Annulla
Salva