summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/StreamCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-14 16:47:49 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 21:22:11 +0100
commit8fe2fa85605c091369c8e69b36d1cded2cd9bbe0 (patch)
treea0d5745b1168fe887568fc6af1004c19ce44f4b6 /module/plugins/hoster/StreamCz.py
parent[ExternalScripts] Update and fix (diff)
downloadpyload-8fe2fa85605c091369c8e69b36d1cded2cd9bbe0.tar.xz
Update hosters (1)
Diffstat (limited to 'module/plugins/hoster/StreamCz.py')
-rw-r--r--module/plugins/hoster/StreamCz.py16
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+'