[kmymoney] [Bug 469431] Need better way to handle changes in stock price quote source
jesse
bugzilla_noreply at kde.org
Sat Jan 20 08:13:13 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=469431
--- Comment #39 from jesse <jvapr27 at yahoo.com> ---
I found the source code and even where they fixed the html parser for
themselves.
Looks like this may have been done by them about 6 months ago, according to the
comment.
Either way, their solution is the same as the link I posted earlier suggest.
Their solution:
@SuppressWarnings("nls")
public String rpcLatestQuote(Security security) throws IOException
{
return new WebAccess("query1.finance.yahoo.com", "/v8/finance/chart/" +
security.getTickerSymbol())
.addParameter("lang", "en-US").addParameter("region",
"US")
.addParameter("corsDomain", "finance.yahoo.com").get();
}
You can see that they made the same update ( to change v7 to v8 and use
v8/finance/chart/%1).
I did not look at all of their code but I see that they seem to be pulling some
json objects too. Perhaps someone can dig into the code and find if they have a
public api they are calling.
As of now, it seems their solution and what the linked posted before, are
consistent.
It may just be that they got to it sooner.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list