mirror of https://github.com/CIRCL/lookyloo
fix: expected format & passing proxy in _capture
parent
a04d224c79
commit
1c89a80c7e
|
@ -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()
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<div class="form-group row">
|
||||
<label for="proxy" class="col-sm-2 col-form-label">Proxy (Optional):</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" name="proxy" id="proxy" placeholder="Pass a proxy (WIP)">
|
||||
<input type="text" class="form-control" name="proxy" id="proxy" placeholder="Expected format: [scheme]://[username]:[password]@[hostname]:[port]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue