mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 14:37:17 +00:00
fix: [Crawler] typo
This commit is contained in:
parent
7cb03fc769
commit
37276e52a3
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue