OS : windows 10
python version: 3.10
I have created a login in URLscanio and started using the URLscanio scan options.
I plan to automate my work via Python (https://pypi.org/project/urlscanio/#files-urlscanio 0.2.2).
So I downloaded the Python script module (urlscanio 0.2.2) and installed it on my machine. While running the script, I got the below error:
C:\Users\sraj\AppData\Local\Programs\Python\Python310>urlscanio -i http://templatelab.com/
Traceback (most recent call last):
File "C:\Users\sraj\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\sraj\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\sraj\AppData\Local\Programs\Python\Python310\Scripts\urlscanio.exe_main.py", line 7, in
File "C:\Users\sraj\AppData\Local\Programs\Python\Python310\lib\site-packages\src\urlscanio_main.py", line 15, in main
api_key = os.environ["URLSCAN_API_KEY"]
File "C:\Users\sraj\AppData\Local\Programs\Python\Python310\lib\os.py", line 680, in getitem
raise KeyError(key) from None
KeyError: 'URLSCAN_API_KEY'
Where can I edit the script and add my own URLSCAN_API_KEY ?
please help to resolve this error