diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2011-09-27 11:04:57 +0200 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2011-09-27 11:04:57 +0200 |
commit | a159147ae67249279677d51ff348c0c7c70f0b1d (patch) | |
tree | 5fbbf2b7ebcb6e435a35b1488a0173beb39ab577 /module/plugins/hoster/QuickshareCz.py | |
parent | plugins: czshare premium, czshare/quickshare/filefactory folders (diff) | |
download | pyload-a159147ae67249279677d51ff348c0c7c70f0b1d.tar.xz |
plugins: fix czshare premium, add ifolder.ru, share-rapid.com by MikyWoW
Diffstat (limited to 'module/plugins/hoster/QuickshareCz.py')
-rw-r--r-- | module/plugins/hoster/QuickshareCz.py | 5 |
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" |