diff options
| author | 2013-06-09 18:10:22 +0200 | |
|---|---|---|
| committer | 2013-06-09 18:10:23 +0200 | |
| commit | 16af85004c84d0d6c626b4f8424ce9647669a0c1 (patch) | |
| tree | 025d479862d376dbc17e934f4ed20031c8cd97d1 /pyload/plugins/hoster/SharebeesCom.py | |
| parent | adapted to jshint config (diff) | |
| download | pyload-16af85004c84d0d6c626b4f8424ce9647669a0c1.tar.xz | |
moved everything from module to pyload
Diffstat (limited to 'pyload/plugins/hoster/SharebeesCom.py')
| -rw-r--r-- | pyload/plugins/hoster/SharebeesCom.py | 19 | 
1 files changed, 19 insertions, 0 deletions
| diff --git a/pyload/plugins/hoster/SharebeesCom.py b/pyload/plugins/hoster/SharebeesCom.py new file mode 100644 index 000000000..f5bacc5b0 --- /dev/null +++ b/pyload/plugins/hoster/SharebeesCom.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class SharebeesCom(XFileSharingPro): +    __name__ = "SharebeesCom" +    __type__ = "hoster" +    __pattern__ = r"http://(?:\w*\.)*?sharebees.com/\w{12}" +    __version__ = "0.01" +    __description__ = """ShareBees hoster plugin""" +    __author_name__ = ("zoidberg") +    __author_mail__ = ("zoidberg@mujmail.cz") + +    FILE_NAME_PATTERN = r'<p class="file-name" ><.*?>\s*(?P<N>.+)' +    FILE_SIZE_PATTERN = r'<small>\((?P<S>\d+) bytes\)</small>' +    FORM_PATTERN = 'F1' +    HOSTER_NAME = "sharebees.com" + +getInfo = create_getInfo(SharebeesCom) | 
