diff --git a/onlinesource.py b/onlinesource.py index 5f551cc..938806e 100644 --- a/onlinesource.py +++ b/onlinesource.py @@ -28,7 +28,9 @@ sel_rgxidtype = [ sel_rgxdatefmt = [ ('%d.%m.%Y', 'dd.mm.yyyy'), + ('%d.%m.%y', 'dd.mm.yy'), ('%m/%d/%Y', 'mm/dd/yyyy'), + ('%m/%d/%y', 'mm/dd/yy'), ('%Y-%m-%d', 'yyyy-mm-dd'), ('%b %d %Y', 'mon dd yyyy'), ] @@ -86,6 +88,11 @@ class OnlineSource(ModelSQL, ModelView): help='Identifier found during test query.'), 'on_change_with_fndident') + @classmethod + def __setup__(cls): + super(OnlineSource, cls).__setup__() + cls._order.insert(0, ('name', 'DESC')) + @classmethod def default_url(cls): """ defaul-url diff --git a/sources_def.xml b/sources_def.xml index 2ff2d1d..1285ec6 100644 --- a/sources_def.xml +++ b/sources_def.xml @@ -6,7 +6,7 @@ full copyright notices and license terms. --> - www.finanzen.net - ETF + www.finanzen.net - ETF (Tradegate) https://www.finanzen.net/etf/${isin}/tgt \nKurszeit (\d+\.\d+\.\d+) \d{2}:\d{2}:\d{2}.*\n @@ -16,6 +16,17 @@ full copyright notices and license terms. --> WKN:.* ISIN: ([A-Z,0-9]+).* isin + + www.finanzen.net - ETF (Stuttgard) + https://www.finanzen.net/etf/${isin}/stu + + \nKurszeit (\d+\.\d+\.\d+) \d{2}:\d{2}:\d{2}.*\n + %d.%m.%Y + \nKurs (\d+,\d+) EUR.*\n + , + WKN:.* ISIN: ([A-Z,0-9]+).* + isin + www.finanzen.net - Fonds https://www.finanzen.net/fonds/${isin}/tgt @@ -45,6 +56,17 @@ full copyright notices and license terms. --> Price\D+([\d,]*\d+\.\d+) . + + www.sbroker.de + https://www.sbroker.de/sbl/mdaten_analyse/dksuche_a?SEARCH_VALUE=${isin} + + \nDatum / Uhrzeit: (\d+\.\d+\.\d+) / \d+:\d+\s+\n + %d.%m.%y + Kurs aktuell .* (\d+,\d+)\s+EUR.*\n + , + \nWKN / ISIN: [A-Z,0-9]+ / ([A-Z,0-9]+)\s+\n + isin +