diff options
| author | 2014-12-17 23:47:33 +0100 | |
|---|---|---|
| committer | 2014-12-17 23:47:33 +0100 | |
| commit | d799ef7a401149591b747e18197ce54017f96f1b (patch) | |
| tree | 681216a75fab4eb02475cefe5311c1071b543f1f /module | |
| parent | Extend SimpleHoster in multi-hoster plugins (3) (diff) | |
| download | pyload-d799ef7a401149591b747e18197ce54017f96f1b.tar.xz | |
[LinestorageCom] Added hoster plugin
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hooks/XFileSharingPro.py | 4 | ||||
| -rw-r--r-- | module/plugins/hoster/LinestorageCom.py | 21 | 
2 files changed, 23 insertions, 2 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index e9b1b454e..10de43cc0 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -8,7 +8,7 @@ from module.plugins.Hook import Hook  class XFileSharingPro(Hook):      __name__    = "XFileSharingPro"      __type__    = "hook" -    __version__ = "0.26" +    __version__ = "0.27"      __config__ = [("activated", "bool", "Activated", True),                    ("use_hoster_list", "bool", "Load listed hosters only", True), @@ -30,7 +30,7 @@ class XFileSharingPro(Hook):      HOSTER_LIST  = [#WORKING HOSTERS:                      "eyesfile.ca", "file4safe.com", "fileband.com", "filedwon.com", "filevice.com", "hostingbulk.com", -                    "linestorage.com", "ravishare.com", "sharesix.com", "thefile.me", "verzend.be", "xvidstage.com", +                    "ravishare.com", "sharesix.com", "thefile.me", "verzend.be", "xvidstage.com",                      #NOT TESTED:                      "101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com", "linkzhost.com", "mightyupload.com",                      "rockdizfile.com", "sharebeast.com", "sharerepo.com", "shareswift.com", "uploadbaz.com", "uploadc.com", diff --git a/module/plugins/hoster/LinestorageCom.py b/module/plugins/hoster/LinestorageCom.py new file mode 100644 index 000000000..a3caacc0c --- /dev/null +++ b/module/plugins/hoster/LinestorageCom.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- + +from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo + + +class LinestorageCom(XFSHoster): +    __name__    = "LinestorageCom" +    __type__    = "hoster" +    __version__ = "0.01" + +    __pattern__ = r'http://(?:www\.)?linestorage\.com/\w{12}' + +    __description__ = """Linestorage.com hoster plugin""" +    __license__     = "GPLv3" +    __authors__     = [("Walter Purcaro", "vuolter@gmail.com")] + + +    HOSTER_DOMAIN = "linestorage.com" + + +getInfo = create_getInfo(LinestorageCom)  | 
