diff options
Diffstat (limited to 'module/plugins/hoster/StreamCz.py')
-rw-r--r-- | module/plugins/hoster/StreamCz.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/StreamCz.py b/module/plugins/hoster/StreamCz.py index c5f53d90a..d6c129236 100644 --- a/module/plugins/hoster/StreamCz.py +++ b/module/plugins/hoster/StreamCz.py @@ -46,12 +46,12 @@ class StreamCz(Hoster): def process(self, pyfile): - self.html = self.load(pyfile.url) + self.data = self.load(pyfile.url) - if re.search(self.OFFLINE_PATTERN, self.html): + if re.search(self.OFFLINE_PATTERN, self.data): self.offline() - m = re.search(self.CDN_PATTERN, self.html) + m = re.search(self.CDN_PATTERN, self.data) if m is None: self.error(_("CDN_PATTERN not found")) cdn = m.groupdict() @@ -63,7 +63,7 @@ class StreamCz(Hoster): else: self.fail(_("Stream URL not found")) - m = re.search(self.NAME_PATTERN, self.html) + m = re.search(self.NAME_PATTERN, self.data) if m is None: self.error(_("NAME_PATTERN not found")) pyfile.name = "%s-%s.%s.mp4" % (m.group(2), m.group(1), cdnkey[-2:]) |