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:
|
if corrupt_tar_archives:
|
||||||
log_info("")
|
log_info("")
|
||||||
log_info("List of extensions with corrupted files/archives:")
|
log_info("List of extensions with corrupted files/archives:")
|
||||||
list(
|
for x in corrupt_tar_archives:
|
||||||
map(lambda x: log_info(" " + x.id + ": " + str(x.exception)),
|
log_info("{}: {}".format(x.ext_id, x.exception), 1)
|
||||||
corrupt_tar_archives))
|
|
||||||
log_info("")
|
log_info("")
|
||||||
|
|
||||||
|
|
||||||
|
@ -230,7 +229,7 @@ def main(argv):
|
||||||
has_exception = list(filter(lambda x: x.has_exception(), res))
|
has_exception = list(filter(lambda x: x.has_exception(), res))
|
||||||
if has_exception:
|
if has_exception:
|
||||||
log_info(" {} extensions with unknown exceptions, start another try ...".format(str(len(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(
|
forum_ext_ids_except = list(
|
||||||
set(forum_ext_ids).intersection(set(has_exception_ids)))
|
set(forum_ext_ids).intersection(set(has_exception_ids)))
|
||||||
ext_ids_except = sorted(
|
ext_ids_except = sorted(
|
||||||
|
|
Loading…
Reference in New Issue