in reply to scrape a webpage
You haven't specified what you're using to parse the HTML, here is an example using Mojo::DOM:
#!/usr/bin/perl use strict; use warnings; use Mojo::DOM; my $html = '<td class="fex_standardblack_font_small" bgcolor="white"> <input id="chkEquipment" name="chkEquipment" value="72" type="checkbox +"> 4WD/AWD </td>'; my $dom = Mojo::DOM->new( $html ); print $dom->at('#chkEquipment')->val;
The module is well documented. If this isn't what you're looking for you may need to ask a better question. How do I post a question effectively?.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: scrape a webpage
by Anonymous Monk on May 22, 2017 at 13:00 UTC | |
by marto (Cardinal) on May 22, 2017 at 13:29 UTC | |
by backyardbill (Initiate) on May 27, 2017 at 21:50 UTC | |
by Corion (Patriarch) on May 28, 2017 at 06:55 UTC |