diff options
Diffstat (limited to 'module/plugins/hoster/StreamCz.py')
-rw-r--r-- | module/plugins/hoster/StreamCz.py | 16 |
1 files changed, 1 insertions, 15 deletions
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+' |