diff --git a/bin/torcrawler/TorSplashCrawler.py b/bin/torcrawler/TorSplashCrawler.py index 894275de..24b7138e 100644 --- a/bin/torcrawler/TorSplashCrawler.py +++ b/bin/torcrawler/TorSplashCrawler.py @@ -127,7 +127,7 @@ class TorSplashCrawler(): else: #avoid filename too big - if self.domains[0] > 225: + if len(self.domains[0]) > 225: UUID = self.domains[0][-215:]+str(uuid.uuid4()) else: UUID = self.domains[0]+str(uuid.uuid4())