diff options
author | stickell <l.stickell@yahoo.it> | 2014-09-17 18:26:23 +0200 |
---|---|---|
committer | stickell <l.stickell@yahoo.it> | 2014-09-17 18:26:23 +0200 |
commit | 7257e2ec613a1dc8dee249d68b81a0b61e2d281c (patch) | |
tree | 0861af51d5b83d00261867293d5120837b06fa4c /module | |
parent | Update EasybytezCom (diff) | |
download | pyload-7257e2ec613a1dc8dee249d68b81a0b61e2d281c.tar.xz |
[PremiumTo] fixed issue with get parameter on download
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/PremiumTo.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/PremiumTo.py b/module/plugins/hoster/PremiumTo.py index 3ab7e34ac..92bec9295 100644 --- a/module/plugins/hoster/PremiumTo.py +++ b/module/plugins/hoster/PremiumTo.py @@ -11,7 +11,7 @@ from module.utils import fs_encode class PremiumTo(Hoster): __name__ = "PremiumTo" __type__ = "hoster" - __version__ = "0.09" + __version__ = "0.10" __pattern__ = r'https?://(?:www\.)?premium.to/.*' __description__ = """Premium.to hoster plugin""" __author_name__ = ("RaNaN", "zoidberg", "stickell") @@ -34,8 +34,7 @@ class PremiumTo(Hoster): self.req.setOption("timeout", 120) self.download( - "http://premium.to/api/getfile.php", - get={"username": self.account.username, "password": self.account.password, "link": quote(pyfile.url, "")}, + "http://premium.to/api/getfile.php?username=%s&password=%s&link=%s" % (self.account.username, self.account.password, quote(pyfile.url, "")), disposition=True) check = self.checkDownload({"nopremium": "No premium account available"}) |