@ -171,6 +171,7 @@ try {
if ($host = $db->getHost(crc32($hostURL))) {
if ($host = $db->getHost(crc32($hostURL))) {
$hostStatus = $host->status;
$hostStatus = $host->status;
$hostNsfw = $host->nsfw;
$hostPageLimit = $host->crawlPageLimit;
$hostPageLimit = $host->crawlPageLimit;
$hostImageLimit = $host->crawlImageLimit;
$hostImageLimit = $host->crawlImageLimit;
$hostId = $host->hostId;
$hostId = $host->hostId;
@ -198,6 +199,7 @@ try {
$hostRobotsPostfix = CRAWL_ROBOTS_POSTFIX_RULES;
$hostRobotsPostfix = CRAWL_ROBOTS_POSTFIX_RULES;
$hostStatus = CRAWL_HOST_DEFAULT_STATUS;
$hostStatus = CRAWL_HOST_DEFAULT_STATUS;
$hostNsfw = CRAWL_HOST_DEFAULT_NSFW;
$hostPageLimit = CRAWL_HOST_DEFAULT_PAGES_LIMIT;
$hostPageLimit = CRAWL_HOST_DEFAULT_PAGES_LIMIT;
$hostImageLimit= CRAWL_HOST_DEFAULT_IMAGES_LIMIT;
$hostImageLimit= CRAWL_HOST_DEFAULT_IMAGES_LIMIT;
@ -211,6 +213,7 @@ try {
$hostImageLimit,
$hostImageLimit,
(string) CRAWL_HOST_DEFAULT_META_ONLY,
(string) CRAWL_HOST_DEFAULT_META_ONLY,
(string) $hostStatus,
(string) $hostStatus,
(string) $hostNsfw,
$hostRobots,
$hostRobots,
$hostRobotsPostfix);
$hostRobotsPostfix);
@ -534,6 +537,7 @@ try {
if ($host = $db->getHost(crc32($hostImageURL->string))) {
if ($host = $db->getHost(crc32($hostImageURL->string))) {
$hostStatus = $host->status;
$hostStatus = $host->status;
$hostNsfw = $host->nsfw;
$hostPageLimit = $host->crawlPageLimit;
$hostPageLimit = $host->crawlPageLimit;
$hostImageLimit = $host->crawlImageLimit;
$hostImageLimit = $host->crawlImageLimit;
$hostId = $host->hostId;
$hostId = $host->hostId;
@ -561,6 +565,7 @@ try {
$hostRobotsPostfix = CRAWL_ROBOTS_POSTFIX_RULES;
$hostRobotsPostfix = CRAWL_ROBOTS_POSTFIX_RULES;
$hostStatus = CRAWL_HOST_DEFAULT_STATUS;
$hostStatus = CRAWL_HOST_DEFAULT_STATUS;
$hostNsfw = CRAWL_HOST_DEFAULT_NSFW;
$hostPageLimit = CRAWL_HOST_DEFAULT_PAGES_LIMIT;
$hostPageLimit = CRAWL_HOST_DEFAULT_PAGES_LIMIT;
$hostImageLimit= CRAWL_HOST_DEFAULT_IMAGES_LIMIT;
$hostImageLimit= CRAWL_HOST_DEFAULT_IMAGES_LIMIT;
$hostId = $db->addHost($hostImageURL->scheme,
$hostId = $db->addHost($hostImageURL->scheme,
@ -573,6 +578,7 @@ try {
$hostImageLimit,
$hostImageLimit,
(string) CRAWL_HOST_DEFAULT_META_ONLY,
(string) CRAWL_HOST_DEFAULT_META_ONLY,
(string) $hostStatus,
(string) $hostStatus,
(string) $hostNsfw,
$hostRobots,
$hostRobots,
$hostRobotsPostfix);
$hostRobotsPostfix);
@ -692,6 +698,7 @@ try {
if ($host = $db->getHost(crc32($hostURL->string))) {
if ($host = $db->getHost(crc32($hostURL->string))) {
$hostStatus = $host->status;
$hostStatus = $host->status;
$hostNsfw = $host->nsfw;
$hostPageLimit = $host->crawlPageLimit;
$hostPageLimit = $host->crawlPageLimit;
$hostImageLimit = $host->crawlImageLimit;
$hostImageLimit = $host->crawlImageLimit;
$hostId = $host->hostId;
$hostId = $host->hostId;
@ -719,6 +726,7 @@ try {
$hostRobotsPostfix = CRAWL_ROBOTS_POSTFIX_RULES;
$hostRobotsPostfix = CRAWL_ROBOTS_POSTFIX_RULES;
$hostStatus = CRAWL_HOST_DEFAULT_STATUS;
$hostStatus = CRAWL_HOST_DEFAULT_STATUS;
$hostNsfw = CRAWL_HOST_DEFAULT_NSFW;
$hostPageLimit = CRAWL_HOST_DEFAULT_PAGES_LIMIT;
$hostPageLimit = CRAWL_HOST_DEFAULT_PAGES_LIMIT;
$hostImageLimit= CRAWL_HOST_DEFAULT_IMAGES_LIMIT;
$hostImageLimit= CRAWL_HOST_DEFAULT_IMAGES_LIMIT;
$hostId = $db->addHost($hostURL->scheme,
$hostId = $db->addHost($hostURL->scheme,
@ -731,6 +739,7 @@ try {
$hostImageLimit,
$hostImageLimit,
(string) CRAWL_HOST_DEFAULT_META_ONLY,
(string) CRAWL_HOST_DEFAULT_META_ONLY,
(string) $hostStatus,
(string) $hostStatus,
(string) $hostNsfw,
$hostRobots,
$hostRobots,
$hostRobotsPostfix);
$hostRobotsPostfix);