Nv7-GitHub/googlesearch

search() got an unexpected keyword argument 'num_results'

Sharaddition opened this issue · 3 comments

From yesterday onwards the package is not working properly when used with num_results
se = search("Google",num_results=10,lang="en")

1 from googlesearch import search
----> 2 se = search("Google",num_results=10,lang="en")
3 print(se)

Without it, it's working fine.

That's quite strange, I just tested your bit of code in a venv with a fresh install of the latest version of googlesearch-python and this works perfectly fine. There hasn't been an update to this package between today and tomorrow (or for quite a while) you could have grabbed either. I am not sure what the issue could be though

Yeah, I've haven't changed anything recently :( Have been planning a lot of features but am working on some other things right now.

I think that was related to specific searches(terms) I made, I got it working again. And I'm really excited for future updates. Cheers!