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

search phrase with quotation #109

Open
fazialnjd opened this issue Nov 14, 2022 · 2 comments
Open

search phrase with quotation #109

fazialnjd opened this issue Nov 14, 2022 · 2 comments

Comments

@fazialnjd
Copy link

fazialnjd commented Nov 14, 2022

Hi.
I search in news.google.com "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 GoogleNews import GoogleNews

    phrase = '"laminated glass" and "polyvinyl butyral"'
    googlenews = GoogleNews()
    googlenews.get_news(phrase)
    googlenews.results(sort=True)

thanks

@HurinHu
Copy link
Member

HurinHu commented Nov 14, 2022

I try to search them separately and without quotes then works, but not working with them together with quotes. Probably some parsing error. Will check it later. You can search these without quotations inside keywords.

@prjvvl
Copy link
Contributor

prjvvl commented Apr 28, 2023

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

3 participants