summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/QuickshareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/QuickshareCz.py')
-rw-r--r--module/plugins/hoster/QuickshareCz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/QuickshareCz.py b/module/plugins/hoster/QuickshareCz.py
index fe8d6febe..acfafaa53 100644
--- a/module/plugins/hoster/QuickshareCz.py
+++ b/module/plugins/hoster/QuickshareCz.py
@@ -67,7 +67,7 @@ class QuickshareCz(Hoster):
self.multiDL = False
def process(self, pyfile):
- self.html = self.load(pyfile.url)
+ self.html = self.load(pyfile.url, decode=True)
# marks the file as "offline" when the pattern was found on the html-page
if re.search(self.FILE_OFFLINE_PATTERN, self.html) is not None:
@@ -77,7 +77,8 @@ class QuickshareCz(Hoster):
parsed_vars = re.search(self.VAR_PATTERN, self.html)
if parsed_vars is None:
self.fail("Parser error")
- # unreachable: pyfile.name = unicode(parsed_vars.group('ID3'), 'utf-8')
+
+ pyfile.name = parsed_vars.group('ID3')
# download the file, destination is determined by pyLoad
download_url = parsed_vars.group('Server') + "/download.php"