|
|
@ -3,10 +3,10 @@ Download documents from the NSW DPE Major Projects website.
|
|
|
|
|
|
|
|
|
|
|
|
Example usage:
|
|
|
|
Example usage:
|
|
|
|
# Grab a single project modification using its job id, and save in 'files'
|
|
|
|
# Grab a single project modification using its job id, and save in 'files'
|
|
|
|
major_projects_grabber -o files -i 1746
|
|
|
|
major_projects_grabber -i 1746 -o files
|
|
|
|
|
|
|
|
|
|
|
|
# Grab all modifications in search results page, and save in current folder
|
|
|
|
# Grab all modifications in search results page, and save in current folder
|
|
|
|
major_projects_grabber "http://majorprojects.planning.nsw.gov.au/index.pl?action=search&authority_id=547"
|
|
|
|
major_projects_grabber -u "http://majorprojects.planning.nsw.gov.au/index.pl?action=search&authority_id=547"
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
@ -137,7 +137,7 @@ def main():
|
|
|
|
major_projects_grabber -i 1746 -o files
|
|
|
|
major_projects_grabber -i 1746 -o files
|
|
|
|
|
|
|
|
|
|
|
|
# Grab all modifications in search results page, and save in current folder
|
|
|
|
# Grab all modifications in search results page, and save in current folder
|
|
|
|
major_projects_grabber http://majorprojects.planning.nsw.gov.au/index.pl?action=search&authority_id=547
|
|
|
|
major_projects_grabber -u http://majorprojects.planning.nsw.gov.au/index.pl?action=search&authority_id=547
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
# Set up command line arguments
|
|
|
|
# Set up command line arguments
|
|
|
|