Przeglądaj źródła

Improve Northgate detection

Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short 3 lat temu
rodzic
commit
6ae5f245f4
Podpisane przez niezaufanego użytkownika: adrian ID klucza GPG: 4B54F9AE91AB06BB
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      lib/uk_planning_scraper/authority.rb

+ 1
- 1
lib/uk_planning_scraper/authority.rb Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz