From 82700f41f1e86374e6c30f3f8429707fd67d5ad9 Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Thu, 30 Jul 2015 13:28:16 +0200 Subject: [FilecryptCc.py] Fix https://github.com/pyload/pyload/issues/1614 --- module/plugins/crypter/FilecryptCc.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py index af4e3dfb1..ff2620b53 100644 --- a/module/plugins/crypter/FilecryptCc.py +++ b/module/plugins/crypter/FilecryptCc.py @@ -16,7 +16,7 @@ from module.plugins.captcha.ReCaptcha import ReCaptcha class FilecryptCc(Crypter): __name__ = "FilecryptCc" __type__ = "crypter" - __version__ = "0.17" + __version__ = "0.18" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?filecrypt\.cc/Container/\w+' @@ -68,7 +68,10 @@ class FilecryptCc(Crypter): self.log_info(_("Found %d mirrors") % len(mirror)) for i in mirror[1:]: - self.site_with_links = self.site_with_links + self.load(i).decode("utf-8", "replace") + try: + self.site_with_links = self.site_with_links + self.load(i).decode("utf-8", "replace") + except: + self.site_with_links = self.site_with_links + self.load(i) def handle_password_protection(self): -- cgit v1.2.3