Thread Parsen von HTML-Inhalten
(33 answers)
Opened by Wilson at 2013-07-31 17:40
Um Himmels willen, Nein! Man parst HTML nicht mit nem Regex.
Code (perl): (dl
)
1 2 use Mojo::DOM; say Mojo::DOM->new('<a href="/wetter/berlin">29° C</a>')->at('a')->text; Last edited: 2013-08-05 16:38:15 +0200 (CEST) |