diff options
author | Seoester <seoester@googlemail.com> | 2013-06-03 17:47:00 +0200 |
---|---|---|
committer | Seoester <seoester@googlemail.com> | 2013-06-03 17:47:00 +0200 |
commit | acb54e231e3fbe7c943f2fed222b91b8c4be0dff (patch) | |
tree | 28cab975a77db74f52f180a6be633b605ebe1970 /module/plugins/hoster | |
parent | Improved DIRECT_LINK_PATTERN (diff) | |
download | pyload-acb54e231e3fbe7c943f2fed222b91b8c4be0dff.tar.xz |
More accurate regular expressions
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/StreamcloudEu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/StreamcloudEu.py b/module/plugins/hoster/StreamcloudEu.py index 3636dd029..9c45e83d7 100644 --- a/module/plugins/hoster/StreamcloudEu.py +++ b/module/plugins/hoster/StreamcloudEu.py @@ -5,14 +5,14 @@ import re class StreamcloudEu(XFileSharingPro): __name__ = "StreamcloudEu" __type__ = "hoster" - __pattern__ = r"https?://(www\.)?streamcloud\.eu/" + __pattern__ = r"http://(www\.)?streamcloud\.eu/\S+" __version__ = "0.01" __description__ = """Streamcloud.eu hoster plugin""" __author_name__ = ("seoester") __author_mail__ = ("seoester@googlemail.com") HOSTER_NAME = "streamcloud.eu" - DIRECT_LINK_PATTERN = r'file: "(https?://(stor|cdn)\d+\.streamcloud.eu:?\d*/.*/video\.mp4)",' + DIRECT_LINK_PATTERN = r'file: "(http://(stor|cdn)\d+\.streamcloud.eu:?\d*/.*/video\.mp4)",' def setup(self): XFileSharingPro.setup(self) |