소스 검색

fixed lambeth

import/raw
memespring 17 년 전
부모
커밋
896b1d74f9
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      trunk/docs/scrapers/lambeth.php

+ 3
- 3
trunk/docs/scrapers/lambeth.php 파일 보기

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

//search url
$search_url = "http://planning.lambeth.gov.uk/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL";
$search_url = "http://planning.lambeth.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);
//comment and info urls
$info_url_base = "http://planning.lambeth.gov.uk/publicaccess/dc/DcApplication/application_detailview.aspx?caseno=";
$comment_url_base = "http://planning.lambeth.gov.uk/publicaccess/dc/DcApplication/application_comments_entryform.aspx?caseno=";
$info_url_base = "http://planning.lambeth.gov.uk/publicaccess/tdc/DcApplication/application_detailview.aspx?caseno=";
$comment_url_base = "http://planning.lambeth.gov.uk/publicaccess/tdc/DcApplication/application_comments_entryform.aspx?caseno=";
//grab urls
$applications = scrape_applications_publicaccess($search_url, $info_url_base, $comment_url_base);


불러오는 중...
취소
저장