mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 07:09:03 +00:00
Added filter to check if a website can be scanned from its parent directory
This commit is contained in:
@@ -92,6 +92,7 @@ class RemoteDirectoryCrawler:
|
||||
if root_listing:
|
||||
self.crawled_paths.append(path_id)
|
||||
else:
|
||||
logger.info("No files in root listing for " + self.url)
|
||||
return CrawlResult(0, "empty")
|
||||
directory.close()
|
||||
except TimeoutError:
|
||||
|
||||
Reference in New Issue
Block a user