camaleon-ecommerce icon indicating copy to clipboard operation
camaleon-ecommerce copied to clipboard

Google finance url no longer works

Open josefsj3m opened this issue 6 years ago • 1 comments

Hi, Google finance url no longer works and the method e_finance_exchange_converter in ecommerce_functions_helper.rb throws an exception because this call returns nil:

res = open("https://finance.google.com/finance/converter?a=1&from=#{args[:from]}&to=#{args[:to]}").read

Is there an alternative to solve it ? Thanks

josefsj3m avatar Apr 15 '18 13:04 josefsj3m

I found the new Link use:

res = open("https://finance.google.com/bctzjpnsun/converter?a=1&from=#{args[:from]}&to=#{args[:to]}").read

Frasob avatar May 08 '18 09:05 Frasob