mirror of https://github.com/CIRCL/lookyloo
fix: The captures are visible on the index by default.
parent
5abc264159
commit
9c7929569e
|
@ -61,7 +61,8 @@ class AsyncCapture(AbstractManager):
|
||||||
perma_uuid=uuid,
|
perma_uuid=uuid,
|
||||||
cookies_pseudofile=to_capture.get('cookies', None),
|
cookies_pseudofile=to_capture.get('cookies', None),
|
||||||
depth=int(to_capture.get('depth', 1)),
|
depth=int(to_capture.get('depth', 1)),
|
||||||
listing=True if ('listing' in to_capture and to_capture['listing'] in [True, 'True', 1, '1']) else False,
|
# By default, the captures are on the index, unless the user mark them as un-listed
|
||||||
|
listing=False if ('listing' in to_capture and to_capture['listing'] in ['False', '0']) else True,
|
||||||
user_agent=to_capture.get('user_agent', None),
|
user_agent=to_capture.get('user_agent', None),
|
||||||
referer=to_capture.get('referer', ''),
|
referer=to_capture.get('referer', ''),
|
||||||
proxy=to_capture.get('proxy', ''),
|
proxy=to_capture.get('proxy', ''),
|
||||||
|
|
Loading…
Reference in New Issue