summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SafesharingEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/SafesharingEu.py')
-rw-r--r--module/plugins/hoster/SafesharingEu.py4
1 files changed, 3 insertions, 1 deletions
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'<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge\?k=(.*)"></script>'
RANDOM_STRING_PATTERN = r'<input type="hidden" name="rand" value="(.*)">'
+ ERROR_PATTERN = r'(?:<div class="alert alert-danger">)(.+?)(?:</div>)'
+
getInfo = create_getInfo(SafesharingEu)