diff --git a/tool/crawler.php b/tool/crawler.php index b8b86cb..0b565a3 100644 --- a/tool/crawler.php +++ b/tool/crawler.php @@ -74,7 +74,7 @@ } foreach ($res as $k => $v) { - $rurl = $v['url']; + $rurl = mysqli_real_escape_string($mysqli, $v['url']); $rpid = null; if ($site = mysqli_prepare($mysqli, "SELECT id FROM website_page WHERE url = ?")) {