Skip to content

Commit 321f0d1

Browse files
authored
Merge pull request #1582 from dandantheitman/master
fix: 1573 Update Bolton council URL
2 parents 22f72c4 + f7cc9b3 commit 321f0d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

uk_bin_collection/tests/input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
"postcode": "BL1 5PQ",
254254
"skip_get_url": true,
255255
"uprn": "100010886936",
256-
"url": "https://carehomes.bolton.gov.uk/bins.aspx",
256+
"url": "https://web.bolton.gov.uk/bins.aspx",
257257
"web_driver": "http://selenium:4444",
258258
"wiki_name": "Bolton",
259259
"wiki_note": "To get the UPRN, you will need to use [FindMyAddress](https://www.findmyaddress.co.uk/search). Previously required a single field that was UPRN and full address; now requires UPRN and postcode as separate fields.",

uk_bin_collection/uk_bin_collection/councils/BoltonCouncil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def parse_data(self, page: str, **kwargs) -> dict:
3535
data = {"bins": []}
3636

3737
# Get our initial session running
38-
page = "https://carehomes.bolton.gov.uk/bins.aspx"
38+
page = "https://web.bolton.gov.uk/bins.aspx"
3939

4040
driver = create_webdriver(web_driver, headless, None, __name__)
4141
driver.get(page)

wiki/Councils.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ Note: You will need to use [FindMyAddress](https://www.findmyaddress.co.uk/searc
698698

699699
### Bolton
700700
```commandline
701-
python collect_data.py BoltonCouncil https://carehomes.bolton.gov.uk/bins.aspx -s -u XXXXXXXX -p "XXXX XXX" -w http://HOST:PORT/
701+
python collect_data.py BoltonCouncil https://web.bolton.gov.uk/bins.aspx -s -u XXXXXXXX -p "XXXX XXX" -w http://HOST:PORT/
702702
```
703703
Additional parameters:
704704
- `-s` - skip get URL

0 commit comments

Comments
 (0)