Kaynağa Gözat

Fix some scrapers where the council have changed the url.

master
duncan.parkes 17 yıl önce
ebeveyn
işleme
c30044404e
7 değiştirilmiş dosya ile 11 ekleme ve 11 silme
  1. +1
    -1
      docs/scrapers/balby.php
  2. +2
    -2
      docs/scrapers/bedford.php
  3. +2
    -2
      docs/scrapers/doncaster.php
  4. +2
    -2
      docs/scrapers/eastriding.php
  5. +1
    -1
      docs/scrapers/hull.php
  6. +2
    -2
      docs/scrapers/salford.php
  7. +1
    -1
      docs/scrapers/sheffield.php

+ 1
- 1
docs/scrapers/balby.php Dosyayı Görüntüle

@@ -22,7 +22,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://www.blaby.gov.uk/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://www.blaby.gov.uk/PublicAccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);


+ 2
- 2
docs/scrapers/bedford.php Dosyayı Görüntüle

@@ -22,7 +22,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://www.publicaccess.bedford.gov.uk/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://www.publicaccess.bedford.gov.uk/publicaccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);

@@ -47,4 +47,4 @@ if (isset($_GET['year'])){
$smarty->display("xml.tpl");

?>
?>

+ 2
- 2
docs/scrapers/doncaster.php Dosyayı Görüntüle

@@ -22,7 +22,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://maps.doncaster.gov.uk/publicaccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://local.doncaster.gov.uk/PublicAccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);

@@ -47,4 +47,4 @@ if (isset($_GET['year'])){
$smarty->display("xml.tpl");

?>
?>

+ 2
- 2
docs/scrapers/eastriding.php Dosyayı Görüntüle

@@ -22,7 +22,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://www.eastriding.gov.uk/PublicAccess731c/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://www.eastriding.gov.uk/PublicAccess731c/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);
@@ -47,4 +47,4 @@ if (isset($_GET['year'])){
$smarty->display("xml.tpl");

?>
?>

+ 1
- 1
docs/scrapers/hull.php Dosyayı Görüntüle

@@ -15,7 +15,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://web.hullcc.gov.uk/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://web.hullcc.gov.uk/publicaccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);


+ 2
- 2
docs/scrapers/salford.php Dosyayı Görüntüle

@@ -22,7 +22,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://publicaccess.salford.gov.uk/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://publicaccess.salford.gov.uk/publicaccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);
@@ -47,4 +47,4 @@ if (isset($_GET['year'])){
$smarty->display("xml.tpl");

?>
?>

+ 1
- 1
docs/scrapers/sheffield.php Dosyayı Görüntüle

@@ -22,7 +22,7 @@ if (isset($_GET['year'])){
}

//search url
$search_url = "http://212.56.70.100/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://planning.sheffield.gov.uk/publicaccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}";
$search_url = str_replace("#daterange", $date_range, $search_url);


Yükleniyor…
İptal
Kaydet