googlesearch icon indicating copy to clipboard operation
googlesearch copied to clipboard

search word with quotation

Open fazialnjd opened this issue 3 years ago • 5 comments

Hi. I search in google "laminated glass" and "polyvinyl butyral" and see multiple pages results; but when I send this phrase to googlesearch module; I am not getting any results. why? and how I can to fix it? (I am need exact result of this phrase.) this is my code:

    from googlesearch import search

    phrase = '"laminated glass" and "polyvinyl butyral"'
    results = search(phrase)
    res_list = list(results)

thanks

fazialnjd avatar Nov 14 '22 20:11 fazialnjd

What does it return? An empty list?

Nv7-GitHub avatar Nov 14 '22 22:11 Nv7-GitHub

What does it return? An empty list?

Yes. It returns an empty list .

fazialnjd avatar Nov 14 '22 23:11 fazialnjd

What does it return? An empty list?

Yes. It returns an empty list .

Did you resolve the issue?

smyja avatar Feb 16 '23 07:02 smyja

I think that's the url encoding problem, I've make a pull request to fix this. #53

codemee avatar May 02 '23 09:05 codemee

This should be fixed in the next release then

Nv7-GitHub avatar May 04 '23 15:05 Nv7-GitHub