summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/StreamcloudEu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 16:50:29 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 16:50:29 +0200
commit390f7deca39ba14f698b3c56660eee2a5502b79a (patch)
tree9fa95eaa5b0ab439d11dba8977266294154cdd8b /module/plugins/hoster/StreamcloudEu.py
parent[DeadHoster] Improve getInfo + two hosters mark dead (diff)
downloadpyload-390f7deca39ba14f698b3c56660eee2a5502b79a.tar.xz
Cleaned-up XFileSharingPro based plugins
Diffstat (limited to 'module/plugins/hoster/StreamcloudEu.py')
-rw-r--r--module/plugins/hoster/StreamcloudEu.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/hoster/StreamcloudEu.py b/module/plugins/hoster/StreamcloudEu.py
index 11333640e..98ca0a19d 100644
--- a/module/plugins/hoster/StreamcloudEu.py
+++ b/module/plugins/hoster/StreamcloudEu.py
@@ -13,20 +13,23 @@ class StreamcloudEu(XFileSharingPro):
__type__ = "hoster"
__version__ = "0.04"
- __pattern__ = r'http://(?:www\.)?streamcloud\.eu/\S+'
+ __pattern__ = r'http://(?:www\.)?streamcloud\.eu/\w{12}'
__description__ = """Streamcloud.eu hoster plugin"""
__author_name__ = "seoester"
__author_mail__ = "seoester@googlemail.com"
+
HOSTER_NAME = "streamcloud.eu"
LINK_PATTERN = r'file: "(http://(stor|cdn)\d+\.streamcloud.eu:?\d*/.*/video\.(mp4|flv))",'
def setup(self):
- super(StreamcloudEu, self).setup()
self.multiDL = True
+ self.chunkLimit = 1
+ self.resumeDownload = self.premium
+
def getDownloadLink(self):
m = re.search(self.LINK_PATTERN, self.html, re.S)
@@ -58,6 +61,7 @@ class StreamcloudEu(XFileSharingPro):
return m.group(1)
+
def getPostParameters(self):
for i in xrange(3):
if not self.errmsg: