summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SimplyPremiumCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
commit6c75c0363f496df86e9c744a9a946f86f82715fa (patch)
tree53e5b7f906e2b9fb1d853d2b0599be7a8c5c7a3d /module/plugins/hoster/SimplyPremiumCom.py
parentTimeout for http request set to 1 minute + report effective url address in he... (diff)
downloadpyload-6c75c0363f496df86e9c744a9a946f86f82715fa.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/SimplyPremiumCom.py')
-rw-r--r--module/plugins/hoster/SimplyPremiumCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/SimplyPremiumCom.py b/module/plugins/hoster/SimplyPremiumCom.py
index 835aa357e..895a88eb5 100644
--- a/module/plugins/hoster/SimplyPremiumCom.py
+++ b/module/plugins/hoster/SimplyPremiumCom.py
@@ -65,7 +65,7 @@ class SimplyPremiumCom(MultiHoster):
self.check_errors()
try:
- self.pyfile.name = re.search(r'<name>([^<]+)</name>', self.data).group(1)
+ self.pyfile.name = re.search(r'<name>(.+?)</name>', self.data).group(1)
except AttributeError:
self.pyfile.name = ""
@@ -77,7 +77,7 @@ class SimplyPremiumCom(MultiHoster):
self.pyfile.size = 0
try:
- self.link = re.search(r'<download>([^<]+)</download>', self.data).group(1)
+ self.link = re.search(r'<download>(.+?)</download>', self.data).group(1)
except AttributeError:
self.link = 'http://www.simply-premium.com/premium.php?link=' + self.pyfile.url