Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
adrianshort
/
uk_planning_scraper
spogulis no
https://github.com/adrianshort/uk_planning_scraper.git
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Laidieni
16
Vikivietne
Aktivitāte
Pārlūkot izejas kodu
Improve Northgate detection
Previous method miscategorised some authorities as Northgate. This method is more reliable.
northgate-dates
Adrian Short
pirms 3 gadiem
vecāks
e29916b02e
revīzija
6ae5f245f4
Parakstījis neuzticams lietotājs:
adrian
GPG atslēgas ID:
4B54F9AE91AB06BB
1 mainītis faili
ar
1 papildinājumiem
un
1 dzēšanām
Dalītais skats
Salīdzināšanas iespējas
Rādīt statistiku
Lejupielādēt ielāpa failu
Lejupielādēt izmaiņu failu
+1
-1
lib/uk_planning_scraper/authority.rb
+ 1
- 1
lib/uk_planning_scraper/authority.rb
Parādīt failu
@@ -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'
Rakstīt
Priekšskatītījums
Notiek ielāde…
Atcelt
Saglabāt