ZoomEye-python icon indicating copy to clipboard operation
ZoomEye-python copied to clipboard

Error when init apikey

Open sisoma2 opened this issue 1 year ago • 2 comments

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

sisoma2 avatar May 02 '24 22:05 sisoma2

ValueError: this service not aviliable in your area, please use api.zoomeye.hk instead - same for me.

06opoTeHb avatar May 24 '24 03:05 06opoTeHb

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.

ilhamrzr avatar Jun 02 '24 19:06 ilhamrzr

please use zoomeye-ai

wh0am1i avatar Feb 07 '25 06:02 wh0am1i