zoomeye-hk / ZoomEye-python

GNU General Public License v2.0
8 stars 1 forks source link

Error with number of results #1

Closed Chocapikk closed 6 months ago

Chocapikk commented 6 months ago

Trying a query with 1000 results

Screenshot from 2024-03-26 17-22-36

Have only 500 results

Screenshot from 2024-03-26 17-14-33

performonkey commented 6 months ago

The number of returned data items will be limited according to the plan of your account. Membership and Professional are limited to a maximum of 500 items returned. Thank you for your feedback, we will optimize the package limit tips in the future.

Chocapikk commented 6 months ago

Hello @performonkey , I think there is a misunderstanding, I will explain better. No matter what value I enter in -num, I will always have half of what I wrote as a number. A temporary solution that I found was to put:


num = int(args.num) * 2

in core.py in search() function.

Honestly, I'm lazy to code on this project but I'm not the only one who's going to happen it would be cool to fix that