summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-03 21:50:03 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-03 21:50:03 +0200
commitfea41bc098a04c6021e273846bdfa0805c5bc05e (patch)
tree6e54591deedfba08a3e6e0d24ef0d9453f8d79f2 /module/plugins/accounts
parent[UpdateManager] Bugfix (diff)
downloadpyload-fea41bc098a04c6021e273846bdfa0805c5bc05e.tar.xz
[UlozTo] Fix #2486
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/UlozTo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/UlozTo.py b/module/plugins/accounts/UlozTo.py
index da3bb6f0c..e5c4b81da 100644
--- a/module/plugins/accounts/UlozTo.py
+++ b/module/plugins/accounts/UlozTo.py
@@ -23,7 +23,7 @@ class UlozTo(Account):
def grab_info(self, user, password, data):
- html = self.load("http://www.ulozto.net/")
+ html = self.load("https://www.ulozto.net/")
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
@@ -34,11 +34,11 @@ class UlozTo(Account):
def signin(self, user, password, data):
- login_page = self.load('http://www.ulozto.net/?do=web-login')
+ login_page = self.load('https://www.ulozto.net/?do=web-login')
action = re.findall('<form action="(.+?)"', login_page)[1].replace('&amp;', '&')
token = re.search('_token_" value="(.+?)"', login_page).group(1)
- html = self.load(urlparse.urljoin("http://www.ulozto.net/", action),
+ html = self.load(urlparse.urljoin("https://www.ulozto.net/", action),
post={'_token_' : token,
'do' : "loginForm-submit",
'login' : u"Přihlásit",