[kmymoney4] [Bug 381399] Can't retrieve stock prices
StephenJH
bugzilla_noreply at kde.org
Tue Jun 20 06:21:52 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=381399
--- Comment #6 from StephenJH <stephen.henstridge at gmail.com> ---
Ralph,
I tried your modified settings and they worked perfectly, including for a
couple of stocks that had never worked before! Many thanks.
On the whole, this method of retrieving data (screen scraping) seems very
unreliable. I'm surprised there is not Web Service for this.
Thanks again.
Regards,
Stephen.
(In reply to Ralf Habacker from comment #5)
> (In reply to David Houlden from comment #1)
> > FT.com have changed that page layout recently. I got it working by changing
> > the KMyMoney settings to these.
> >
> > URL: http://funds.ft.com/uk/Tearsheet/Summary?s=%1:GBX
> > Symbol: data-display-symbol="(.*):
> > Price: Price \(GBX\)</span><span
> > class="mod-ui-data-list__value">([\d,]*\.\d*)</span>
> > Date: Data delayed at least 15 minutes, as of (.*)
> > Date Format: %m %d %y
>
> As far as I can see looks the following regex be more general:
>
> URL: http://funds.ft.com/uk/Tearsheet/Summary?s=%1
> Symbol: data-display-symbol="(.*):
> Price: class="mod-ui-data-list__value">([\d,]*\.\d*)</span>
> Date: Data delayed at least 15 minutes, as of (.*)\.
> Date Format: %m %d %y
>
> Changes are in Price: and Date:
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list