ZoomEye-python
ZoomEye-python copied to clipboard
Error when init apikey
When launching the following command:
zoomeye init -apikey "XXXXXXXXXXX"
I get the following error message:
ValueError: this service not aviliable in your area, please use api.zoomeye.hk instead
ValueError: this service not aviliable in your area, please use api.zoomeye.hk instead - same for me.
You need to change the domain in the sdk.py file.
If you install using pip, you can find the sdk.py file in the following path: .local/lib/python3.xx/site-packages/zoomeye/sdk.py Change all domains https://api.zoomeye.org/ to https://api.zoomeye.hk/
I hope this helps.
please use zoomeye-ai