From 8fe2fa85605c091369c8e69b36d1cded2cd9bbe0 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 14 Dec 2015 16:47:49 +0100 Subject: Update hosters (1) --- module/plugins/hoster/StreamCz.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'module/plugins/hoster/StreamCz.py') diff --git a/module/plugins/hoster/StreamCz.py b/module/plugins/hoster/StreamCz.py index 5ed547159..0921b1878 100644 --- a/module/plugins/hoster/StreamCz.py +++ b/module/plugins/hoster/StreamCz.py @@ -6,24 +6,10 @@ from module.network.RequestFactory import getURL as get_url from module.plugins.internal.Hoster import Hoster -def get_info(urls): - result = [] - - for url in urls: - html = get_url(url) - if re.search(StreamCz.OFFLINE_PATTERN, html): - #: File offline - result.append((url, 0, 1, url)) - else: - result.append((url, 0, 2, url)) - - yield result - - class StreamCz(Hoster): __name__ = "StreamCz" __type__ = "hoster" - __version__ = "0.24" + __version__ = "0.25" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?stream\.cz/[^/]+/\d+' -- cgit v1.2.3