I did a complete erase and re-install of Fedora (v39 → v41) and I was smart enough to save the Yahoo Finance details but forgot about the currency conversion. Wading through past posts has not helped. I would appreciate the latest working data. Thanks, A.
EDIT: @JohnandMegh led me to the correct data. Viz,
FWIW, I’m using the following regexes to extract the data from fx-rate.net:
Price: 1\s[^=]+\s*=\s*</span>\s*
\s*([^\s]+)
Date: <span class=“datetime”[^>]+>\s*\d+:\d+:\d+(\w+)\s+(\d{1,2}/\d{2}/\d{4})
Hi - just thinking for tagging purposes, which application or component are you looking at so folks who might be able to help can best find this post?
And if this happens to be KMyMoney, is this related to - or a new instance of - this bug? 480062 – fx-rate fails to fetch currency exchange rates
Doh! I must have been half asleep not to have tagged it with KMM. Thanks. I will. A
Slight update to the above settings. The parens around \w+ must be escaped to work properly.
Online quote settings generated with Alkimia 8.1.92-077e161-webengine-qtnetwork
URL: https://fx-rate.net/%1/%2
Download mode: Default
Data format: HTML
Identifier:
Select by: Symbol
Price: Today\s+=\s+([^<]+)</span>
Price decimal separator: Legacy
Date: <span class="datetime"[^>]+>\s*\d+:\d+:\d+\(\w+\)\s+(\d{1,2}\/\d{2}\/\d{4})
Date format: %d/%m/%y
Default identifier:
Remote source: not checked
The setting for the date format might differ for your specific locale.
1 Like