However, the returning string has the <body> tags in it. How could I get the contents inside the <body> tags using HTML::Tree? I realize that regex is a possibility, but I was told that parsing html using regex was not a good idea.$tree = HTML::Tree->new(); $tree->parse($child_page); $body = $tree->look_down( '_tag' , 'body' );
In reply to How would I extract body from an html page by corpx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |