Topic: Update google url for currency converter

Google currency converter url has been changed to finance.google.com/bctzjpnsun/converter?a=1&from=USD&to=EUR

So lines 153 and 221 of gl_db_rates.inc should be:

153 $filename = "/bctzjpnsun/converter?a=1&from={$curr_a}&to={$curr_b}";
221 $filename = "/bctzjpnsun/converter?a=1&from={$curr_b}&to={$curr_a}";

Phuong

Re: Update google url for currency converter

Willdo later today.

Joe

Re: Update google url for currency converter

Commited to Repo with rerun cleanup.

/Joe

Re: Update google url for currency converter

Line 153 has an extra semicolons

Phuong

Re: Update google url for currency converter

Oops! Will be fixed asap. Thanks.

Joe

Re: Update google url for currency converter

For those using FA 2.3.x - this will need to be backported.

Looks like this has been so for a couple of months atleast:

7 (edited by notrinos 07/25/2018 10:59:40 am)

Re: Update google url for currency converter

Google finance API does not work anymore, should we stop chasing their updates ? neutral

Phuong

Re: Update google url for currency converter

Shall we replace it with x-rates.com? The bash code for it is:

wget -q -O- "https://www.x-rates.com/table/?from=USD&amount=1" | \
grep "http://www.x-rates.com/graph/?from=" | \
cut -c71-1000 | \
sed -e 's#</a></td>##' | \
sed -e 's#&amp;to=# #' | \
sed -e "s#'># #" | \
sort -u > output.txt