mirror of
https://github.com/puppe/moneymoney-uberspace.git
synced 2025-12-20 01:12:17 +01:00
Replace URL for dashboard
The URL for the dashboard has changed. This commit replaces the old one with the new one.
This commit is contained in:
parent
0432c9087a
commit
92eb20f85c
1 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
WebBanking{version = 1.02,
|
WebBanking{version = 1.02,
|
||||||
url = 'https://uberspace.de/login',
|
url = 'https://dashboard.uberspace.de/login',
|
||||||
services = {'Uberspace.de'},
|
services = {'Uberspace.de'},
|
||||||
description = string.format(
|
description = string.format(
|
||||||
MM.localizeText("Get balance and transactions for %s"),
|
MM.localizeText("Get balance and transactions for %s"),
|
||||||
|
|
@ -24,7 +24,7 @@ function InitializeSession (protocol, bankCode, username, username2,
|
||||||
-- Login.
|
-- Login.
|
||||||
usUsername = username
|
usUsername = username
|
||||||
|
|
||||||
html = HTML(usConnection:get('https://uberspace.de/login'))
|
html = HTML(usConnection:get('https://dashboard.uberspace.de/login'))
|
||||||
html:xpath('//input[@name="login"]'):attr('value', username)
|
html:xpath('//input[@name="login"]'):attr('value', username)
|
||||||
html:xpath('//input[@name="password"]'):attr('value', password)
|
html:xpath('//input[@name="password"]'):attr('value', password)
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ function RefreshAccount (account, since)
|
||||||
end
|
end
|
||||||
|
|
||||||
html = HTML(usConnection:get(
|
html = HTML(usConnection:get(
|
||||||
'https://uberspace.de/dashboard/accounting'))
|
'https://dashboard.uberspace.de/dashboard/accounting'))
|
||||||
tableRows = html:xpath(
|
tableRows = html:xpath(
|
||||||
'//*[@id="transactions"]//tr[count(td)=3][position()<last()]')
|
'//*[@id="transactions"]//tr[count(td)=3][position()<last()]')
|
||||||
print('Found ' .. tableRows:length() .. ' rows')
|
print('Found ' .. tableRows:length() .. ' rows')
|
||||||
|
|
@ -104,5 +104,5 @@ function RefreshAccount (account, since)
|
||||||
end
|
end
|
||||||
|
|
||||||
function EndSession ()
|
function EndSession ()
|
||||||
usConnection:get('https://uberspace.de/logout')
|
usConnection:get('https://dashboard.uberspace.de/logout')
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue