summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-09-20 20:15:27 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-09-20 20:15:27 +0200
commit14e84567b5dd3670ef31f7130e21a0c305af90e7 (patch)
treeb62beb7da9ba46f4de9eeae82e294b7dd9c91eff /module/plugins/hoster
parent[UptoboxCom] Account fixup (diff)
downloadpyload-14e84567b5dd3670ef31f7130e21a0c305af90e7.tar.xz
Update PremiumizeMe.py
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/PremiumizeMe.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/module/plugins/hoster/PremiumizeMe.py b/module/plugins/hoster/PremiumizeMe.py
index d968eccec..e682a5a4c 100644
--- a/module/plugins/hoster/PremiumizeMe.py
+++ b/module/plugins/hoster/PremiumizeMe.py
@@ -7,7 +7,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class PremiumizeMe(MultiHoster):
__name__ = "PremiumizeMe"
__type__ = "hoster"
- __version__ = "0.20"
+ __version__ = "0.21"
__status__ = "testing"
__pattern__ = r'^unmatchable$' #: Since we want to allow the user to specify the list of hoster to use we let MultiHoster.activate
@@ -44,6 +44,12 @@ class PremiumizeMe(MultiHoster):
status = data['status']
if status == 200:
+ if 'filename' in data['result']:
+ self.pyfile.name = data['result']['filename']
+
+ if 'filesize' in data['result']:
+ self.pyfile.size = data['result']['filesize']
+
self.link = data['result']['location']
return