summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar stickell <l.stickell@yahoo.it> 2014-09-17 18:26:23 +0200
committerGravatar stickell <l.stickell@yahoo.it> 2014-09-17 18:26:23 +0200
commit7257e2ec613a1dc8dee249d68b81a0b61e2d281c (patch)
tree0861af51d5b83d00261867293d5120837b06fa4c /module
parentUpdate EasybytezCom (diff)
downloadpyload-7257e2ec613a1dc8dee249d68b81a0b61e2d281c.tar.xz
[PremiumTo] fixed issue with get parameter on download
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/PremiumTo.py5
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"})