chg: Disable depth on lookyloo enqueue

pull/528/head
Raphaël Vinot 2022-09-27 15:43:44 +02:00
parent b351d4cd87
commit d80d9c50f9
1 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ class Lookyloo():
try: try:
return self._captures_index[capture_uuid] return self._captures_index[capture_uuid]
except NoValidHarFile: 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 return None
except MissingCaptureDirectory as e: except MissingCaptureDirectory as e:
# The UUID is in the captures but the directory is not on the disk. # 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), url=query.pop('url', None),
document_name=query.pop('document_name', None), document_name=query.pop('document_name', None),
document=query.pop('document', None), document=query.pop('document', None),
depth=query.pop('depth', 0), # depth=query.pop('depth', 0),
browser=query.pop('browser', None), browser=query.pop('browser', None),
device_name=query.pop('device_name', None), device_name=query.pop('device_name', None),
user_agent=query.pop('user_agent', None), user_agent=query.pop('user_agent', None),