Merge branch 'production' of logicalhacking.com:BrowserSecurity/ExtensionCrawler into production
This commit is contained in:
commit
437c1c4727
7
crawler
7
crawler
|
@ -99,9 +99,8 @@ def log_summary(res, runtime=0):
|
|||
if corrupt_tar_archives:
|
||||
log_info("")
|
||||
log_info("List of extensions with corrupted files/archives:")
|
||||
list(
|
||||
map(lambda x: log_info(" " + x.id + ": " + str(x.exception)),
|
||||
corrupt_tar_archives))
|
||||
for x in corrupt_tar_archives:
|
||||
log_info("{}: {}".format(x.ext_id, x.exception), 1)
|
||||
log_info("")
|
||||
|
||||
|
||||
|
@ -230,7 +229,7 @@ def main(argv):
|
|||
has_exception = list(filter(lambda x: x.has_exception(), res))
|
||||
if has_exception:
|
||||
log_info(" {} extensions with unknown exceptions, start another try ...".format(str(len(has_exception))))
|
||||
has_exception_ids = list(map(lambda x: x.id, has_exception))
|
||||
has_exception_ids = [x.ext_id for x in has_exception]
|
||||
forum_ext_ids_except = list(
|
||||
set(forum_ext_ids).intersection(set(has_exception_ids)))
|
||||
ext_ids_except = sorted(
|
||||
|
|
Loading…
Reference in New Issue