Financial Times Fund

Skrooge Quote Sources

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

To donwload fund quotes from Financial Times.

rhabacker

1 year ago

Just checked this online quote service and recognized two issues:
1. The date string captured by the date regex includes time and timezone, which fails with the given QDate format string 'MMM dd yyyy' . The date regex needs to be changed to something like Date=minutes, as of ([^\.]*)\s\d+:
I removed alo the term with the '15' minutes to be more robust for further changes.
2. The website has been refactored to use javascript to include the related content, which means using KIO to download the page content will not return the request data anymore. (I guessed that SKGServices::downloadToStream uses KIO, at least with KMymoney, which uses KIO, parsing fails). A solution for this issue is to use QWebKit, which supports javascript out of the box.

BTW: There is work in progress to add enhanced support of fetching and parsing online qoutes for finance applications to alkimia library based on QWebKit, GHNS, which will also be usable by skrooge (and other finance applications). If there is any interest, let me know for further informations.

Report

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1
updated Dec 02 2017
added Dec 02 2017
downloads 24h
0
page views 24h 2
System Tags addon