Remove URL check from process.php. Checking is done in Crawler already
[phinde.git] / bin / process.php
index 1bae7c4..9fc4752 100755 (executable)
@@ -53,10 +53,6 @@ $url = $res->args['url'];
 $url = Helper::addSchema($url);
 $urlObj = new \Net_URL2($url);
 $url = $urlObj->getNormalizedURL();
-if (!Helper::isUrlAllowed($url)) {
-    Log::error("Domain is not allowed; not crawling");
-    exit(2);
-}
 
 try {
     $actions = array();