diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-01 23:21:14 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-01 23:21:14 +0200 |
commit | ab3c90a7b0d18f47d3efc8259906895c1f50765d (patch) | |
tree | ec3cde40c03e1c771d026ba2d4917f4229a31dcc /module/plugins/internal/XFSHoster.py | |
parent | Merge pull request #1902 from GammaC0de/patch-3 (diff) | |
download | pyload-ab3c90a7b0d18f47d3efc8259906895c1f50765d.tar.xz |
Fixpack (1)
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
-rw-r--r-- | module/plugins/internal/XFSHoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index dcb85d23b..b59f34122 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.62" + __version__ = "0.63" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -253,7 +253,7 @@ class XFSHoster(SimpleHoster): try: captcha_key = re.search(self.RECAPTCHA_PATTERN, self.html).group(1) - except (AttributeError, IndexError, TypeError): + except Exception: captcha_key = recaptcha.detect_key() else: @@ -267,7 +267,7 @@ class XFSHoster(SimpleHoster): try: captcha_key = re.search(self.SOLVEMEDIA_PATTERN, self.html).group(1) - except (AttributeError, IndexError, TypeError): + except Exception: captcha_key = solvemedia.detect_key() else: |