html-treebuilder

TreeBuilder Get embedded nodes

只愿长相守 提交于 2019-12-25 08:26:08
问题 Basically, I need to get the names and emails from all of these people in the HTML code. <thead> <tr> <th scope="col" class="rgHeader" style="text-align:center;">Name</th><th scope="col" class="rgHeader" style="text-align:center;">Email Address</th><th scope="col" class="rgHeader" style="text-align:center;">School Phone</th> </tr> </thead><tbody> <tr class="rgRow" id="ctl00_ContentPlaceHolder1_rg_People_ctl00__0"> <td> Michael Bowen </td><td>mbowen@cpcisd.net</td><td>903-488-3671 ext3200</td>

WWW::Mechanize Extraction Help - PERL

青春壹個敷衍的年華 提交于 2019-12-11 13:59:14
问题 I'm try to automate the extraction of a transcript found on a website. The entire transcript is found between dl tags since the site formatted the interview in a description list. The script I have below allows me to search the site and extract the text in a plain-text format, but I'm actually looking for it to include everything between the dl tags, meaning dd's, dt's, etc. This will allow us to develop our own CSS for the interview. Something to note about the page is that there are break