Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLundSE26 committed Dec 23, 2017
1 parent 8d0818e commit 137999f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scraper.py
Expand Up @@ -45,9 +45,12 @@ def search(mth):

#searchCriteria.page="n"
#action" value="page"
request_data = {"month": mth, "dateType": "DC_Validated" , "searchType": "Application",
"searchCriteria.page": "2" , "action": "page",
"searchCriteria.resultsPerPage", "5"}
request_data = {"month": mth,
"dateType": "DC_Validated" ,
"searchType": "Application",
"searchCriteria.page": "2" ,
"action": "page",
"searchCriteria.resultsPerPage": "5"}

result = requests.post('http://public.oxford.gov.uk/online-applications/pagedSearchResults.do', request_data)

Expand Down

0 comments on commit 137999f

Please sign in to comment.