I will add context to how I am developing this: perhaps this can be useful to anyone who wants to contribute or suggest some better styling or logic in the code:
I posted this rule template after reading rlkoshak’s tutorial on the argument, and afterwards digging inside a conceptually similar template that was already developed (Waste Collection Belgium).
To develop the code I reversed the logic of this Home Assistant component, for which I will thank the GitHub user 5ila5, who contributed by adding support for Junker and doing the work of reversing their web app.
I will also add that the component I am referring to implements the logic to scrape the garbage collection schedule for many more countries than Italy.