Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MULTI_PAGE_SEARCH (START_PAGE) IS NOT WORKING #107

Open
mqxmm opened this issue Oct 10, 2023 · 1 comment
Open

MULTI_PAGE_SEARCH (START_PAGE) IS NOT WORKING #107

mqxmm opened this issue Oct 10, 2023 · 1 comment

Comments

@mqxmm
Copy link

mqxmm commented Oct 10, 2023

import zoomeye.sdk as zoomeye
zm = zoomeye.ZoomEye()
zm.api_key = ''
data = zm.multi_page_search('telnet', page=25, start_page=1, resource="host", facets=None)
zoomeye.show_site_ip(data)

Traceback (most recent call last):
File "/root/zoom2.py", line 4, in
data = zm.multi_page_search('telnet', page=25, start_page=1, resource="host", facets=None)
TypeError: ZoomEye.multi_page_search() got an unexpected keyword argument 'start_page'

HELP PLEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEASE

@fifisaac
Copy link

fifisaac commented Oct 25, 2023

It looks as if the current version from pip is different to the version on github. You can manually add start_page = 1 into the parameters of the function in sdk.py to fix this

Seems this was only added 1 month ago, and there hasn't been a release that includes it despite it being added to the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants