mirror of https://github.com/CIRCL/AIL-framework
fix: [Crawler] typo
parent
7cb03fc769
commit
37276e52a3
|
@ -127,7 +127,7 @@ class TorSplashCrawler():
|
||||||
else:
|
else:
|
||||||
|
|
||||||
#avoid filename too big
|
#avoid filename too big
|
||||||
if self.domains[0] > 225:
|
if len(self.domains[0]) > 225:
|
||||||
UUID = self.domains[0][-215:]+str(uuid.uuid4())
|
UUID = self.domains[0][-215:]+str(uuid.uuid4())
|
||||||
else:
|
else:
|
||||||
UUID = self.domains[0]+str(uuid.uuid4())
|
UUID = self.domains[0]+str(uuid.uuid4())
|
||||||
|
|
Loading…
Reference in New Issue