mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [Crawler] typo
This commit is contained in:
parent
7a4989ce10
commit
7cb03fc769
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class TorSplashCrawler():
|
||||||
#avoid filename too big
|
#avoid filename too big
|
||||||
if self.domains[0] > 225:
|
if 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())
|
||||||
filename_paste = os.path.join(self.crawled_paste_filemame, UUID)
|
filename_paste = os.path.join(self.crawled_paste_filemame, UUID)
|
||||||
relative_filename_paste = os.path.join(self.crawler_path, UUID)
|
relative_filename_paste = os.path.join(self.crawler_path, UUID)
|
||||||
|
|
Loading…
Reference in a new issue