Files
wizzardRedux/sites/Kamming.php
2016-03-18 01:42:48 -07:00

50 lines
693 B
PHP

<?php
// Original code: The Wizard of DATz
print "<pre>";
$newfiles = array(
'http://www.vdisk.cn/kamming07',
);
foreach ($newfiles as $newfile)
{
print "load ".$newfile."\n";
$query = get_data($newfile);
$query = explode("<div class='filename'><a href='/down/index/", $query);
$query[0] = null;
$old = 0;
$new = 0;
foreach ($query as $row)
{
if ($row)
{
$row = explode("'", $row);
$row = $row[0];
if ($r_query[$row])
{
$old++;
}
else
{
$found[] = $row;
$new++;
}
}
}
foreach ($found as $row)
{
print "<a href=http://www.vdisk.cn/down/index/".$row.">".$row."</a>\n";
}
print "found new:".$new.", old:".$old."\n\n";
}
?>