* [misc] click second navc in spider script.

This commit is contained in:
liyang
2025-01-27 09:59:56 +08:00
committed by 曹延义
parent 93375ee7c9
commit d3bf5d79bb
+9
View File
@@ -387,6 +387,15 @@ foreach($appMenu as $menu)
$linkList[] = $navURL;
$urlList = getURLinNAV($page, $firstNav);
$linkCount = 1;
if(!empty($urlList))
{
$linkList = array_merge($linkList, $urlList);
$linkCount += count($linkList);
}
sleep(1);
echo "收集{$linkCount}条链接\n";
}
catch(Exception $e)
{