Request for new forest council
Name of Council
New Forest
Example Address/Postcode
SO41 0GJ
Additional Information
No response
Verification
- [X] I searched for similar issues at https://github.com/robbrad/UKBinCollectionData/issues?q=is:issue and found no duplicates
- [X] I have provided a tested working address/postcode/UPRN with bin collections available
- [X] I understand that this project is run by volunteer contributors and completion depends on numerous factors - even with a request, we cannot guarantee if/when your council will get a script
I did spend a little bit of time trying to figure this one out a while ago, but came out a bit blank. Looks like it heavily relies on a server side session, with 3 required steps:
- User navigates to
https://forms.newforest.gov.uk/ufs/FIND_MY_COLLECTION.eb- 302 redirect toFIND_MY_COLLECTION.eb?ebd=0&ebz=[random_numerical_string]andJSESSIONIDcookie - User inputs postcode into
CTRL:1:_:Aform field and POST to above new URL - 302 redirect to same URL as GET request but new page contents - User selects UPRN from dropdown by address in
CTRL:6:_:Aform field and POST to same new URL - 302 redirect to same URL as GET request but scrapable bin information
That's a very brief synopsis - removing ebz at any point yeets the session (they're running EBase Xi). Implementation will probably need to step through each step, I see no way of skipping straight to step 3 without the server side session having seen step 2 happen first (for which we need a JSESSIONID)
Also, please note that the bin collection provider is due to change from 2025 - so a new platform may be introduced at this point. (We currently use binbags, how oldschool)
Selenium required for this one
Proving pretty difficult this one as the page in Selenium just comes up with ERR_TOO_MANY_REDIRECTS
Sorted !