From d80d9c50f9bc0c7dd3f478d04136902d422b1b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 27 Sep 2022 15:43:44 +0200 Subject: [PATCH] chg: Disable depth on lookyloo enqueue --- lookyloo/lookyloo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index 790015b..91bab9e 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -390,7 +390,7 @@ class Lookyloo(): try: return self._captures_index[capture_uuid] except NoValidHarFile: - self.logger.debug('No HAR files, it is just a broken capture.') + self.logger.debug('No HAR files, {capture_uuid} is a broken capture.') return None except MissingCaptureDirectory as e: # The UUID is in the captures but the directory is not on the disk. @@ -466,7 +466,7 @@ class Lookyloo(): url=query.pop('url', None), document_name=query.pop('document_name', None), document=query.pop('document', None), - depth=query.pop('depth', 0), + # depth=query.pop('depth', 0), browser=query.pop('browser', None), device_name=query.pop('device_name', None), user_agent=query.pop('user_agent', None),