From 8b4c10aeb2849ca2a2e1d1dbacc798858d9f95ac Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 27 Sep 2010 21:24:45 +0200 Subject: utf8 rs auth encoding --- module/plugins/hoster/RapidshareCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/RapidshareCom.py') diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index 9075a9877..eeff87e5a 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -45,7 +45,7 @@ class RapidshareCom(Hoster): __name__ = "RapidshareCom" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?rapidshare.com/(?:files/(?P\d*?)/(?P.+)|#!download\|(?:\d+)\|(?P\d+)\|(?P[^|]+))" - __version__ = "0.21" + __version__ = "0.22" __description__ = """Rapidshare.com Download Hoster""" __config__ = [["server", "Cogent;Deutsche Telekom;Level(3);Level(3) #2;GlobalCrossing;Level(3) #3;Teleglobe;GlobalCrossing #2;TeliaSonera #2;Teleglobe #2;TeliaSonera #3;TeliaSonera", "Preferred Server", "None"]] __author_name__ = ("spoob", "RaNaN", "mkaay") @@ -189,7 +189,7 @@ class RapidshareCom(Hoster): dl_dict = {"id": id, "name": name, "host": data[0], - "auth": data[1], + "auth": data[1].encode("utf8"), "server": self.api_data["serverid"], "size": self.api_data["size"] } -- cgit v1.2.3