Skip to content

Commit

Permalink
Corrected Recycling & Green Waste
Browse files Browse the repository at this point in the history
Corrected Recycling & Green Waste and added another test
  • Loading branch information
seedzero committed Feb 26, 2023
1 parent 9d31dc0 commit 119e1fb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"address": "280 SOMERTON ROAD ROXBURGH PARK, VIC 3064"
}, # Tuesday
"1/90 Vineyard": {"address": "1/90 Vineyard Road Sunbury, VIC 3429"}, # Wednesday
"9-19 McEwen": {"address": "9-19 MCEWEN DRIVE SUNBURY VIC 3429"}, # Wednesday
"33 Toyon": {"address": "33 TOYON ROAD KALKALLO VIC 3064"}, # Friday
}

Expand Down Expand Up @@ -84,8 +85,8 @@ def fetch(self):
fields_json = r.json()["infoPanels"]["info1"]["feature"]["fields"]

date_rubbish = fields_json[9]["value"]["value"].split(" ")[1]
date_recycling = fields_json[9]["value"]["value"].split(" ")[1]
date_green_waste = fields_json[9]["value"]["value"].split(" ")[1]
date_recycling = fields_json[10]["value"]["value"].split(" ")[1]
date_green_waste = fields_json[11]["value"]["value"].split(" ")[1]

# general rubbish (red lid)
entries.append(
Expand Down

0 comments on commit 119e1fb

Please sign in to comment.