Nv7-GitHub / googlesearch

A Python library for scraping the Google search engine.

Home Page:https://pypi.org/project/googlesearch-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

search() got an unexpected keyword argument 'num_results'

Sharaddition opened this issue · 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

commented

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!