$history_url = 'http://web.archive.org/web/20200320155419/http://man.niaoge.com/sub'; $url = $argv[1] == "index"?"$history_url/":"$history_url/".urlencode($argv[1]); $html = file_get_contents($url); if(preg_match('/