duckduckgo / zeroclickinfo-spice

DuckDuckGo Instant Answers based on JavaScript (JSON) APIs
https://duckduckhack.com/
Other
548 stars 942 forks source link

RubyGems: Not working #2247

Closed bsstoner closed 8 years ago

bsstoner commented 8 years ago

Their API endpoint works: https://rubygems.org/api/v1/search.json?query=rspec

But calls through spice always return no results: https://duckduckgo.com/?q=rubygems+rspec https://duckduckgo.com/js/spice/ruby_gems/rspec

cc @moollaza @malbin @russellholt


IA Page: http://duck.co/ia/view/ruby_gems

moollaza commented 8 years ago

@bsstoner this one has stumped me. Will need further investigation...

moollaza commented 8 years ago

FWIW the IA works in DuckPAN, so this is an internal problem.

andrey-p commented 8 years ago

Confirmed, it's internal. Will have a look.

andrey-p commented 8 years ago

Sorry, I jumped the gun and thought it was an internal frontend issue. It's not IP blocking, otherwise running DuckPAN locally will have led to the same problem. Some kind of metadata issue?

altern8tif commented 8 years ago

@andrey-p @bsstoner @moollaza this seems to be working now... I supposed it was resolved internally?

moollaza commented 8 years ago

@altern8tif yup I updated the code. We had both wrap_jsonp_callback and &callback= so we were double-wrapping the API Response!