diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 16:03:18 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 16:03:18 +0100 |
commit | 0331df435b912d8abfc012d15fd8be9ae90ad78d (patch) | |
tree | f4e44f5ea7da19d33235ba311ade9f1133c30a97 /pyload/plugins/hoster/SafesharingEu.py | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-0331df435b912d8abfc012d15fd8be9ae90ad78d.tar.xz |
Fix previous merge
Diffstat (limited to 'pyload/plugins/hoster/SafesharingEu.py')
-rw-r--r-- | pyload/plugins/hoster/SafesharingEu.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/SafesharingEu.py b/pyload/plugins/hoster/SafesharingEu.py new file mode 100644 index 000000000..730bfc692 --- /dev/null +++ b/pyload/plugins/hoster/SafesharingEu.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- + +from pyload.plugins.internal.XFSHoster import XFSHoster, create_getInfo + + +class SafesharingEu(XFSHoster): + __name__ = "SafesharingEu" + __type__ = "hoster" + __version__ = "0.05" + + __pattern__ = r'https?://(?:www\.)?safesharing\.eu/\w{12}' + + __description__ = """Safesharing.eu hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("zapp-brannigan", "fuerst.reinje@web.de")] + + + HOSTER_DOMAIN = "safesharing.eu" + + WAIT_PATTERN = r'You have to wait (\d+) minutes' + + ERROR_PATTERN = r'(?:<div class="alert alert-danger">)(.+?)(?:</div>)' + + +getInfo = create_getInfo(SafesharingEu) |