Skip to content

Commit

Permalink
Merge pull request #981 from jpitcairn/master
Browse files Browse the repository at this point in the history
  • Loading branch information
robbrad authored Nov 9, 2024
2 parents d03898c + 5ea22ff commit 53185a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def parse_data(self, page: str, **kwargs) -> dict:
for date in v:
dict_data = {
"type": k,
"collectionDate": date
"collectionDate": datetime.strptime(date, "%Y-%m-%d").strftime(date_format)
}
data["bins"].append(dict_data)

Expand Down
13 changes: 13 additions & 0 deletions wiki/Councils.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ This document is still a work in progress, don't worry if your council isn't lis
- [Norwich City Council](#norwich-city-council)
- [Northumberland Council](#northumberland-council)
- [Nottingham City Council](#nottingham-city-council)
- [Nuneaton and Bedworth Borough Council](#nuneaton-and-bedworth-borough-council)
- [Oldham Council](#oldham-council)
- [Oxford City Council](#oxford-city-council)
- [Perth and Kinross Council](#perth-and-kinross-council)
Expand Down Expand Up @@ -1873,6 +1874,18 @@ Additional parameters:

---

### Nuneaton and Bedworth Borough Council
```commandline
python collect_data.py NuneatonBedworthBoroughCouncil https://www.nuneatonandbedworth.gov.uk -s -n "XXXXXXX XXXX"
```
Additional parameters:
- `-s` - skip get URL
- `-n` - house number

Note: Enter ONLY the street name in the house number parameter. Ensure street name is entered as exactly on the council website. (Some street names may also include the town)

---

### Oldham Council
```commandline
python collect_data.py OldhamCouncil https://portal.oldham.gov.uk/bincollectiondates/details?uprn=422000033556
Expand Down

0 comments on commit 53185a1

Please sign in to comment.