车辆下架

This commit is contained in:
2026-01-19 14:48:45 +08:00
parent 72c565e924
commit 5f9e98367f
@@ -42,7 +42,7 @@ class UsedCarCrawlSingle
public function crawlCar(string $url){
$html = $this->fetchHtml($url);
if ($html === '') {
if ($html === '' || str_contains($html, '404 Not Found')) {
throw new BusinessException("页面内容为空: {$url}");
}