Friends, please tell me a simple parser in php. The task is very simple, you need to take one line from a third-party site:
<img class="png" src="//s3.gismeteo.by/static/images/icons/new/d.sun.png" alt="Ясно" title="Ясно" width="55" height="55"> If the title is clear, then output 1, if it is cloudy, then 2 and so on. I tried to find some kind of parser in the Internet, but I haven’t found something yet. Thanks a lot in advance.