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

Google::Search::News is not displaying any news articles. Please help. #26

Open
ShivrajDeepsagar opened this issue May 12, 2016 · 11 comments

Comments

@ShivrajDeepsagar
Copy link

ShivrajDeepsagar commented May 12, 2016

Before it was Image, now even news articles are NOT being displayed from Google::Search::News. Please somebody help here. I m doing my final year project and desperately need some help. I tried it on irb. The result was NIL.

2.3.0 :008 > Google::Search::News.new(query: "Panama Papers")
`2.3.0 :009 > results = _
=> #<Google::Search::News:0x00000000e597c8 @relative_to=nil, @edition=nil, @order_by=nil, @type=:news, @Version=1.0, @offset=0, @SiZe=:large, @language=:en, @query="Panama Papers", @api_key=:notsupplied, @options={}>

2.3.0 :010 > results.each do |result|
2.3.0 :011 >     puts result
2.3.0 :012?>   end

=> nil `

@no-mercy
Copy link

Google has changed something in their logic, entire search is broken now, not only news.

@rynkwn
Copy link

rynkwn commented May 13, 2016

@no-mercy is correct, my own implementation has also spontaneously broken down.

@zapnap
Copy link

zapnap commented May 21, 2016

Bummer :(

@ShivrajDeepsagar
Copy link
Author

@no-mercy @aantix Is there any alternate solution for this?

@chip-and-dail
Copy link

+1 @ShivrajDeepsagar

@aantix
Copy link

aantix commented Jul 11, 2016

@chip-and-dail Create a fork and add support for Google's Custom Search API (which means you'll be paying for these searches).

Or fork and implement a backend that scrapes (using Mechanize or something similar).

It doesn't appear that anyone (so far) has done this work for this gem.

@chip-and-dail
Copy link

Maybe can find products similar to http://www.faroo.com/ ?

@aantix
Copy link

aantix commented Jul 11, 2016

@chip-and-dail Nice find. Looks like the API is free and with a liberal usage policy.

Create a fork and let us know. :)

@chip-and-dail
Copy link

@aantix I'm not that brainy :)

@Premnath321
Copy link

Looks like cleaning is started.

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

7 participants