summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/FilecryptCc.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-18 23:12:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-18 23:12:07 +0200
commit8638a9f8cfadd8591a8cefc06a543d61b3cc4054 (patch)
tree4f59c4700d628e75023672cee93e7bff171d430f /module/plugins/crypter/FilecryptCc.py
parentMerge pull request #1755 from estaban/patch-6 (diff)
parentUpdate ShareLinksBiz.py (diff)
downloadpyload-8638a9f8cfadd8591a8cefc06a543d61b3cc4054.tar.xz
Merge pull request #1754 from joberreiter/patch-3
[SharelinksBiz & FilecryptCc] Fixes #1753
Diffstat (limited to 'module/plugins/crypter/FilecryptCc.py')
-rw-r--r--module/plugins/crypter/FilecryptCc.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py
index 9f4ad69aa..ac78e9aa8 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.18"
+ __version__ = "0.19"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?filecrypt\.cc/Container/\w+'
@@ -140,8 +140,9 @@ class FilecryptCc(Crypter):
for link in weblinks:
res = self.load("%s/Link/%s.html" % (self.base_url, link))
link2 = re.search('<iframe noresize src="(.*)"></iframe>', res)
- res2 = self.load(link2.group(1), just_header=True)
- self.links.append(res2['location'])
+ if link2:
+ res2 = self.load(link2.group(1), just_header=True)
+ self.links.append(res2['location'])
except Exception, e:
self.log_debug("Error decrypting weblinks: %s" % e)