summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-26 21:10:38 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-26 21:10:38 +0100
commitd99e7039744c67ddbe56a09eeaa636f7d62e98a8 (patch)
treea2f36bbf42c727ac911893e95295920fad6ae869 /module/plugins/internal
parent[SimpleHoster][SimpleCrypter] Bump up __version__ (diff)
downloadpyload-d99e7039744c67ddbe56a09eeaa636f7d62e98a8.tar.xz
[XFSPHoster] Improve ERROR_PATTERN
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSPHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSPHoster.py b/module/plugins/internal/XFSPHoster.py
index 00666ec2b..edbe8a0a2 100644
--- a/module/plugins/internal/XFSPHoster.py
+++ b/module/plugins/internal/XFSPHoster.py
@@ -17,7 +17,7 @@ from module.utils import html_unescape
class XFSPHoster(SimpleHoster):
__name__ = "XFSPHoster"
__type__ = "hoster"
- __version__ = "0.05"
+ __version__ = "0.06"
__pattern__ = None
@@ -51,7 +51,7 @@ class XFSPHoster(SimpleHoster):
RECAPTCHA_PATTERN = None
SOLVEMEDIA_PATTERN = None
- ERROR_PATTERN = r'class=["\']err["\'][^>]*>(.+?)</'
+ ERROR_PATTERN = r'(?:class=["\']err["\'][^>]*>|<[Cc]enter><b>)(.+?)(?:["\']|</)'
def setup(self):