Html scraping made easy.

Ignoring the end point

<h2>Carga Hor&aacute;ria</h2> ${duration} horas...
This is kind of trick. It first will match the h2 tag. After that, will capture anything until the string horas is found. Then will ignore everything after. That /h2 is optional.