How can I iterate throuah all the list-items of `<ol class="daily-weather-list__intervals"`?

[![enter image description here](https://i.stack.imgur.com/GwXut.png)](https://i.stack.imgur.com/GwXut.png)

I want to go though everey sub-item, that is

```
<li class="daily-weather-list-item" id="DayliWatherListItem0"
<li class="daily-weather-list-item" id="DayliWatherListItem1"
...
<li class="daily-weather-list-item" id="DayliWatherListItem8"

```

and collect the data stored in the classes

```
'temperature min-max-temperature__max temperature--warm')
'temperature min-max-temperature__min temperature--warm')

```

as shown below:

[![enter image description here](https://i.stack.imgur.com/uG2gR.png)](https://i.stack.imgur.com/uG2gR.png)

Is there a way to do this using Selenium Webdriver?