mirror of https://github.com/CIRCL/lookyloo
fix: Incorrect matching for listing key in capture (always false)
parent
902c8f81b6
commit
48b632aa1e
|
@ -61,7 +61,7 @@ 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'] is True) else False,
|
listing=True if ('listing' in to_capture and to_capture['listing'] in [True, 'True', 1, '1']) else False,
|
||||||
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