Apparently some programs (and only some) have a download link on rtpplay's website. Changing the regex fixes kodi attempting to play, for instance:
https://cdn-ondemand.rtp.pt/nas2.share/wavrss/at3/2002/6267580_322817-2002210923.mp3" rel="nofollow" title="Faça o download do ficheiro"><i class="fal fa-arrow-to-bottom
(https://www.rtp.pt/play/p6179/e457543/minuto-verde)
and limit the result to the first occurrence of ".
Apparently some programs (and only some) have a download link on rtpplay's website. Changing the regex fixes kodi attempting to play, for instance:
https://cdn-ondemand.rtp.pt/nas2.share/wavrss/at3/2002/6267580_322817-2002210923.mp3" rel="nofollow" title="Faça o download do ficheiro"><i class="fal fa-arrow-to-bottom
(https://www.rtp.pt/play/p6179/e457543/minuto-verde)and limit the result to the first occurrence of ".
Hopefully fixes #22