The PHP thief program is the predecessor of collection. Only with the thief principle can we write collection. This is the homework given to you by bkJiaChuangen IT Education during the training. I casually wrote a few lines of general ideas and functions. The details require collecting the email address, author, title, content filtering, automatic downloading of pictures, storage classification and other functions. For your reference:
index.php
$con = file_get_contents("http://it.sohu.com/s2010/5651/s274087241/index.shtml");
$preg="/·(.*)/U";
preg_match_all($preg,$con,$arr);
foreach($arr[1] as $id=>$v){
echo "".$arr[2][$id]."
";
}
?>
view.php
$con = file_get_contents($_GET[url]);
$preg="/
?>