From 221a6fd47f3f805ad81c43651b04636415eea547 Mon Sep 17 00:00:00 2001 From: guidobelix Date: Wed, 29 Oct 2014 23:10:09 +0100 Subject: [SafesharingEu] Improved error handling --- module/plugins/hoster/SafesharingEu.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/plugins/hoster/SafesharingEu.py b/module/plugins/hoster/SafesharingEu.py index cbb448d02..1cfd63efc 100644 --- a/module/plugins/hoster/SafesharingEu.py +++ b/module/plugins/hoster/SafesharingEu.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo class SafesharingEu(XFSPHoster): __name__ = "SafesharingEu" __type__ = "hoster" - __version__ = "0.02" + __version__ = "0.03" __pattern__ = r'https?://(?:\w+\.)?safesharing.eu/\w+' @@ -30,5 +30,7 @@ class SafesharingEu(XFSPHoster): RECAPTCHA_KEY_PATTERN = r'' RANDOM_STRING_PATTERN = r'' + ERROR_PATTERN = r'(?:
)(.+?)(?:
)' + getInfo = create_getInfo(SafesharingEu) -- cgit v1.2.3