Utils
urlscan.utils
¶
Utility functions for urlscan.io API client.
extract(path, outdir)
¶
Extract a compressed file to the specified output directory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
StrOrBytesPath
|
The path to the compressed file. |
required |
outdir
|
StrOrBytesPath
|
The directory to extract the files to. |
required |
Returns:
| Type | Description |
|---|---|
|
None |
Source code in src/urlscan/utils.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |