Thread [WWW::Mechanize] Kann Link nicht extrahieren
(8 answers)
Opened by Ionit at 2014-09-20 11:34
WWW::Mechanize::Query verwenden.
da Code (perl): (dl
)
print $mech->at( 'div.testklasse a' )->text; oder Mojo::DOM. Code (perl): (dl
)
1 2 3 use Mojo::DOM; my $mojo = Mojo::DOM->new( $mech->content); print $mojo->at( 'div.testklasse a' )->text; Last edited: 2014-09-20 12:57:35 +0200 (CEST) |