summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/StreamcloudEu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-10 03:02:26 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-10 03:02:26 +0200
commit04038a2cf0c4c2d9cc9a0c8e8bf9beb6426afae8 (patch)
tree703010e32f62bf869551ce0d323dacf62bc448ff /module/plugins/hoster/StreamcloudEu.py
parent[SimpleCrypter] Support parseError (diff)
downloadpyload-04038a2cf0c4c2d9cc9a0c8e8bf9beb6426afae8.tar.xz
Use parseError instead PluginParseError + unified all download pattern attributes as LINK_PATTERN + removed some old patterns (not used anymore) + other code cosmetics
Diffstat (limited to 'module/plugins/hoster/StreamcloudEu.py')
-rw-r--r--module/plugins/hoster/StreamcloudEu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/StreamcloudEu.py b/module/plugins/hoster/StreamcloudEu.py
index 388eb7876..849f3797a 100644
--- a/module/plugins/hoster/StreamcloudEu.py
+++ b/module/plugins/hoster/StreamcloudEu.py
@@ -18,14 +18,14 @@ class StreamcloudEu(XFileSharingPro):
HOSTER_NAME = "streamcloud.eu"
- DIRECT_LINK_PATTERN = r'file: "(http://(stor|cdn)\d+\.streamcloud.eu:?\d*/.*/video\.(mp4|flv))",'
+ LINK_PATTERN = r'file: "(http://(stor|cdn)\d+\.streamcloud.eu:?\d*/.*/video\.(mp4|flv))",'
def setup(self):
super(StreamcloudEu, self).setup()
self.multiDL = True
def getDownloadLink(self):
- found = re.search(self.DIRECT_LINK_PATTERN, self.html, re.S)
+ found = re.search(self.LINK_PATTERN, self.html, re.S)
if found:
return found.group(1)
@@ -42,7 +42,7 @@ class StreamcloudEu(XFileSharingPro):
if found:
break
- found = re.search(self.DIRECT_LINK_PATTERN, self.html, re.S)
+ found = re.search(self.LINK_PATTERN, self.html, re.S)
if found:
break