diff options
Diffstat (limited to 'pyload/plugin/account/UlozTo.py')
-rw-r--r-- | pyload/plugin/account/UlozTo.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/account/UlozTo.py b/pyload/plugin/account/UlozTo.py index c43246e7d..20f03f907 100644 --- a/pyload/plugin/account/UlozTo.py +++ b/pyload/plugin/account/UlozTo.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- import re - -from urlparse import urljoin +import urlparse from pyload.plugin.Account import Account @@ -37,7 +36,7 @@ class UlozTo(Account): action = re.findall('<form action="(.+?)"', login_page)[1].replace('&', '&') token = re.search('_token_" value="(.+?)"', login_page).group(1) - html = req.load(urljoin("http://www.ulozto.net/", action), + html = req.load(urlparse.urljoin("http://www.ulozto.net/", action), post={'_token_' : token, 'do' : "loginForm-submit", 'login' : u"Přihlásit", |