https://bugs.kde.org/show_bug.cgi?id=528306

Thomas Baumgart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |WORKSFORME
             Status|NEEDSINFO                   |RESOLVED

--- Comment #9 from Thomas Baumgart <[email protected]> ---
This might be a bit confusing, but the CSV format is meant to import lists of
(historic) prices for a single currency or stock item. In this case, the first
line needs to be a header line and the regex for price and date identify the
column from which the data can be extracted. It may also require a start and
end data (but I am not sure about that right now). Anyway, your approach using
a small script should use the following settings:

> URL: file:/home/wgking/get-stock-price.sh  %1
> Download mode: Default
> Data format: Stripped HTML
> Identifier: ^[^,]+,([^,]+),
> Select by: Symbol
> Price: (\d+\.\d+)
> Price decimal separator: Period (.)
> Date: (\d{4}\-\d{2}\-\d{2})
> Date format: %y-%m-%d
> Default identifier: 
> Remote source: not checked

Notice the change in the regex for the identifier to extract the value in the
second column and the Data format.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to