From c30044404ec8234fae0dacee3e96c8c1422e1420 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Mon, 17 Sep 2007 14:06:20 +0000 Subject: [PATCH] Fix some scrapers where the council have changed the url. --- docs/scrapers/balby.php | 2 +- docs/scrapers/bedford.php | 4 ++-- docs/scrapers/doncaster.php | 4 ++-- docs/scrapers/eastriding.php | 4 ++-- docs/scrapers/hull.php | 2 +- docs/scrapers/salford.php | 4 ++-- docs/scrapers/sheffield.php | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/scrapers/balby.php b/docs/scrapers/balby.php index 2f9f9f3..b0e3d94 100644 --- a/docs/scrapers/balby.php +++ b/docs/scrapers/balby.php @@ -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); diff --git a/docs/scrapers/bedford.php b/docs/scrapers/bedford.php index 82a6541..12dd915 100644 --- a/docs/scrapers/bedford.php +++ b/docs/scrapers/bedford.php @@ -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"); -?> \ No newline at end of file +?> diff --git a/docs/scrapers/doncaster.php b/docs/scrapers/doncaster.php index dcc6bcc..4d59499 100644 --- a/docs/scrapers/doncaster.php +++ b/docs/scrapers/doncaster.php @@ -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"); -?> \ No newline at end of file +?> diff --git a/docs/scrapers/eastriding.php b/docs/scrapers/eastriding.php index c878856..a0d5f7f 100644 --- a/docs/scrapers/eastriding.php +++ b/docs/scrapers/eastriding.php @@ -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"); -?> \ No newline at end of file +?> diff --git a/docs/scrapers/hull.php b/docs/scrapers/hull.php index 8287eaf..35f8b7d 100644 --- a/docs/scrapers/hull.php +++ b/docs/scrapers/hull.php @@ -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); diff --git a/docs/scrapers/salford.php b/docs/scrapers/salford.php index d9186a0..68dcbd4 100644 --- a/docs/scrapers/salford.php +++ b/docs/scrapers/salford.php @@ -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"); -?> \ No newline at end of file +?> diff --git a/docs/scrapers/sheffield.php b/docs/scrapers/sheffield.php index b41576b..ca7a1b3 100644 --- a/docs/scrapers/sheffield.php +++ b/docs/scrapers/sheffield.php @@ -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);