Skip to content

Sheffield Council not working after council page changed #2011

@JonScaife

Description

@JonScaife

Name of Council

Sheffield Council

Issue Information

Setup fails with error Failed setup, will retry: Unexpected error: 'NoneType' object has no attribute 'find_all'
I think this is because the URL has changed?
The data URL certainly used to be https://wasteservices.sheffield.gov.uk/property/{property-id}
This now appears to have changed to https://wasteservices.sheffield.gov.uk/recycling-rubbish/property-search/{new-property-id}/your-collection-days
It appears that the code of the council site has also changed so just updating the URL alone probably won't resolve the issue. I'm not sure how recently hit was changed but I think it must be in the last week or 2.
My python is not good enough to work out how to change the parsing rules for the new html page so I haven't been able to work out a fix myself.
Thanks for the great work on this. Hope there will be a fix soon

Verification

  • I searched for similar issues at https://github.com/robbrad/UKBinCollectionData/issues?q=is:issue and found no duplicates
  • I have checked my address/postcode/UPRN works on the council's website
  • I have provided a detailed explanation of the issue as well as steps to replicate the issue
  • I understand that this project is run by volunteer contributors therefore completion of this issue cannot be guaranteed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions