From acb54e231e3fbe7c943f2fed222b91b8c4be0dff Mon Sep 17 00:00:00 2001 From: Seoester Date: Mon, 3 Jun 2013 17:47:00 +0200 Subject: More accurate regular expressions --- module/plugins/hoster/StreamcloudEu.py | 4 ++-- 1 file 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) -- cgit v1.2.3