Thread Parsen von HTML-Inhalten (33 answers)
Opened by Wilson at 2013-07-31 17:40

sri
 2013-08-05 16:36
#169374 #169374
User since
2004-01-29
828 Artikel
BenutzerIn
[Homepage] [default_avatar]
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)

View full thread Parsen von HTML-Inhalten