summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py8
-rw-r--r--module/plugins/internal/Plugin.py4
2 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py
index 31a1a24c6..1945b2743 100644
--- a/module/plugins/accounts/ShareonlineBiz.py
+++ b/module/plugins/accounts/ShareonlineBiz.py
@@ -18,10 +18,10 @@ class ShareonlineBiz(Account):
def api_response(self, user, password, req):
return self.load("http://api.share-online.biz/cgi-bin",
- get={'q' : "userdetails",
- 'aux' : "traffic",
- 'username': user,
- 'password': password})
+ get={'q' : "userdetails",
+ 'aux' : "traffic",
+ 'username': user,
+ 'password': password})
def parse_info(self, user, password, data, req):
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py
index 84dd5bdd4..0049826da 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -80,7 +80,7 @@ def set_cookies(cj, cookies):
for cookie in cookies:
if isinstance(cookie, tuple) and len(cookie) == 3:
domain, name, value = cookie
- cj.setCookie(domain, name, value)
+ cj.setCookie(domain, name, encode(value)) #@TODO: Remove `encode` in 0.4.10
def parse_html_tag_attr_value(attr_name, tag):
@@ -137,7 +137,7 @@ def chunks(iterable, size):
class Plugin(object):
__name__ = "Plugin"
__type__ = "hoster"
- __version__ = "0.17"
+ __version__ = "0.18"
__status__ = "testing"
__pattern__ = r'^unmatchable$'