mirror of https://github.com/CIRCL/lookyloo
fix: Skip buggy captures on index
parent
316338a213
commit
760b479059
|
@ -394,6 +394,9 @@ def index_generic(show_hidden: bool=False):
|
||||||
continue
|
continue
|
||||||
elif 'no_index' in cached:
|
elif 'no_index' in cached:
|
||||||
continue
|
continue
|
||||||
|
if 'timestamp' not in cached:
|
||||||
|
# this is a buggy capture, skip
|
||||||
|
continue
|
||||||
if cut_time and datetime.fromisoformat(cached['timestamp'][:-1]) < cut_time: # type: ignore
|
if cut_time and datetime.fromisoformat(cached['timestamp'][:-1]) < cut_time: # type: ignore
|
||||||
continue
|
continue
|
||||||
titles.append((cached['uuid'], cached['title'], cached['timestamp'], cached['url'],
|
titles.append((cached['uuid'], cached['title'], cached['timestamp'], cached['url'],
|
||||||
|
|
Loading…
Reference in New Issue