I looked line by line at the output html file containing $response->content
It seems that sometimes there's an internal error printed inside another HTML tag...
In other words, the $response->content goes as follows:
<html> <head> ... ... </head> <body> ... ... ... <DIV></DIV> # Div number 12 <HTML> <HEAD> </HEAD> <BODY> <p>You have an error blah blah blah</p> </BODY> </HTML> <DIV></DIV> # Div number 13 and so on until number 19 ... ... </body> </html>
The problem is that it's not inside any iframe or something like that, so the onl way out that comes to my mind is use a while to look for such issues and take them out, then regenerate the output and go on...
Does TreeBuilder have an option to avoid this things?? Google is not helping me
In reply to Re^2: HTML::TreeBuilder::XPath not loading the complete $page
by Lord Gartlar
in thread HTML::TreeBuilder::XPath not loading the complete $page
by Lord Gartlar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |