From b3b82f960e553dbabbaf4f1d276b560e2cfffab0 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 19 Jul 2014 14:48:40 +0200 Subject: [StreamCz] Parse https --- module/plugins/hoster/StreamCz.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/StreamCz.py b/module/plugins/hoster/StreamCz.py index 9e5b6233f..7614c0cc3 100644 --- a/module/plugins/hoster/StreamCz.py +++ b/module/plugins/hoster/StreamCz.py @@ -16,6 +16,7 @@ """ import re + from module.plugins.Hoster import Hoster from module.network.RequestFactory import getURL @@ -36,17 +37,21 @@ def getInfo(urls): class StreamCz(Hoster): __name__ = "StreamCz" + __version__ = "0.2" __type__ = "hoster" - __pattern__ = r'http://(?:www\.)?stream.cz/[^/]+/\d+.*' - __version__ = "0.1" + + __pattern__ = r'https?://(?:www\.)?stream\.cz/[^/]+/\d+.*' + __description__ = """Stream.cz hoster plugin""" __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - OFFLINE_PATTERN = r'

Str.nku nebylo mo.n. nal.zt \(404\)

' FILE_NAME_PATTERN = r'' + OFFLINE_PATTERN = r'

Str.nku nebylo mo.n. nal.zt \(404\)

' + CDN_PATTERN = r'\d+)(?:&cdnLQ=(?P\d*))?(?:&cdnHQ=(?P\d*))?(?:&cdnHD=(?P\d*))?&' + def setup(self): self.multiDL = True self.resumeDownload = True -- cgit v1.2.3