summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-10-01 00:05:48 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-10-01 00:05:48 +0200
commit2937185811f427f3c052bcfa4d498c8d0890fd6a (patch)
tree03ff1204ea2df3e8a68bc5cff6cfcdcef9f36c32 /module/plugins/internal
parentMerge pull request #1885 from GammaC0de/patch-7 (diff)
downloadpyload-2937185811f427f3c052bcfa4d498c8d0890fd6a.tar.xz
Update XFSHoster.py
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSHoster.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py
index 8af6b83ed..346422ff7 100644
--- a/module/plugins/internal/XFSHoster.py
+++ b/module/plugins/internal/XFSHoster.py
@@ -14,7 +14,7 @@ from module.utils import html_unescape
class XFSHoster(SimpleHoster):
__name__ = "XFSHoster"
__type__ = "hoster"
- __version__ = "0.61"
+ __version__ = "0.62"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -244,7 +244,7 @@ class XFSHoster(SimpleHoster):
try:
captcha_key = re.search(self.RECAPTCHA_PATTERN, self.html).group(1)
- except (AttributeError, IndexError):
+ except (AttributeError, IndexError, TypeError):
captcha_key = recaptcha.detect_key()
else:
@@ -258,7 +258,7 @@ class XFSHoster(SimpleHoster):
try:
captcha_key = re.search(self.SOLVEMEDIA_PATTERN, self.html).group(1)
- except (AttributeError, IndexError):
+ except (AttributeError, IndexError, TypeError):
captcha_key = solvemedia.detect_key()
else: