From 1c89a80c7e3a895ff76d931ed817b49480f3b48e Mon Sep 17 00:00:00 2001 From: felalex Date: Fri, 25 Jun 2021 16:36:57 +0200 Subject: [PATCH] fix: expected format & passing proxy in _capture --- lookyloo/lookyloo.py | 2 +- website/web/templates/capture.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index ea513a76..2b2f0fb7 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -829,7 +829,7 @@ class Lookyloo(): def _capture(self, url: str, *, cookies_pseudofile: Optional[Union[BufferedIOBase, str]]=None, depth: int=1, listing: bool=True, user_agent: Optional[str]=None, - referer: str='', perma_uuid: Optional[str]=None, os: Optional[str]=None, + referer: str='', proxy: str='', perma_uuid: Optional[str]=None, os: Optional[str]=None, browser: Optional[str]=None, parent: Optional[str]=None) -> Union[bool, str]: '''Launch a capture''' url = url.strip() diff --git a/website/web/templates/capture.html b/website/web/templates/capture.html index b9b3021f..b3723674 100644 --- a/website/web/templates/capture.html +++ b/website/web/templates/capture.html @@ -70,7 +70,7 @@
- +