Този сайт работи по-добре с JavaScript.
Начало
Каталог
Помощ
Вход
adrianshort
/
uk_planning_scraper
огледало от
https://github.com/adrianshort/uk_planning_scraper.git
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Версии
16
Уики
Activity
Преглед на файлове
Improve Northgate detection
Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short
преди 3 години
родител
e29916b02e
ревизия
6ae5f245f4
Signed by untrusted user:
adrian
GPG ключ ID:
4B54F9AE91AB06BB
променени са
1 файла
, в които са
добавени 1
реда и са
изтрити 1
реда
Разделен изглед
Diff Options
Показване на статистика
Download Patch File
Download Diff File
+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'
Пиши
Преглед
Зареждане…
Отказ
Запис