I been trying to extract site table text along with its link from the given table to (which is in site1.com) to my php page using a web crawler.
But unfortunately,
I tried the same code for another site. and it works. Please take a look at it:
' , $returned_content );
$second_step = explode('', $first_step[1]);
$third_step = explode('', $second_step[0]);
// print_r($third_step);
foreach ($third_step as $element) {
$child_first = explode( '' , $child_first[1] );
$child_third = explode( '' , $child_third[1] );
echo $final = "";
}
?>
I know its too much to ask, but can you please make a code out of these two which make the crawler work.
@jkmak
- 热议问题