From 48b632aa1e2bbcac9c3126de30e893ae1e01e6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 8 Sep 2021 10:53:31 +0200 Subject: [PATCH] fix: Incorrect matching for listing key in capture (always false) --- bin/async_capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/async_capture.py b/bin/async_capture.py index d896f7a4..068dc37f 100755 --- a/bin/async_capture.py +++ b/bin/async_capture.py @@ -61,7 +61,7 @@ class AsyncCapture(AbstractManager): perma_uuid=uuid, cookies_pseudofile=to_capture.get('cookies', None), 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), referer=to_capture.get('referer', ''), proxy=to_capture.get('proxy', ''),