forked from planningalerts-scrapers/hornsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9f241e
commit c66735e
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
Hornsby Shire Council Scraper | ||
----------------------------- | ||
|
||
Hornsby Shire Council site is very easy to scrape, only need to scape a single page to get the entire month of DAs. No pagination, yay... Three cheers to this council !!! | ||
This site is a typical .NET site involves the followings. | ||
|
||
However, the lack of HTML class, id, etc to identify the data, it requires a few 'explode' in PHP to get the right information. | ||
* Server - XC.Track | ||
* Cookie - No | ||
* User-Agent - Maybe | ||
* RSS - Yes | ||
|
||
By default: it will look for 'thisweek' of DAs, for data recovery you can set the MORPH_PERIOD=thismonth or MORPH_PERIOD=lastmonth | ||
Setup MORPH_PERIOD for data recovery, available options are | ||
|
||
Still, not bad...Thanks and Enjoy | ||
* thisweek (default) | ||
* thismonth | ||
* lastmonth | ||
|
||
Enjoy |