Remove URL check from process.php. Checking is done in Crawler already
authorChristian Weiske <cweiske@cweiske.de>
Sat, 3 Dec 2016 13:28:21 +0000 (14:28 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 3 Dec 2016 13:28:21 +0000 (14:28 +0100)
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();