diff options
| author | 2014-03-28 12:12:12 +0100 | |
|---|---|---|
| committer | 2014-03-28 12:12:12 +0100 | |
| commit | 31e67a69d7349ebcc22e604a1b36d02d54878e24 (patch) | |
| tree | bcb58eaa9a7bbaddbd95b5a779bc1104e92dd792 /module/plugins/hoster | |
| parent | New multihoster: OverLoadMe (diff) | |
| parent | Hoster: ShareFilesCo: Mark dead (diff) | |
| download | pyload-31e67a69d7349ebcc22e604a1b36d02d54878e24.tar.xz | |
Merge pull request #562 from vuolter/s/hoster/ShareFilesCo
ShareFilesCo: dead
Diffstat (limited to 'module/plugins/hoster')
| -rw-r--r-- | module/plugins/hoster/ShareFilesCo.py | 24 | 
1 files changed, 6 insertions, 18 deletions
| diff --git a/module/plugins/hoster/ShareFilesCo.py b/module/plugins/hoster/ShareFilesCo.py index 245e20ea6..35f21916c 100644 --- a/module/plugins/hoster/ShareFilesCo.py +++ b/module/plugins/hoster/ShareFilesCo.py @@ -1,28 +1,16 @@  # -*- coding: utf-8 -*- -import re -from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo +from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo -class ShareFilesCo(XFileSharingPro): +class ShareFilesCo(DeadHoster):      __name__ = "ShareFilesCo"      __type__ = "hoster" -    __pattern__ = r"http://(www\.)?sharefiles\.co/\w{12}" -    __version__ = "0.01" +    __pattern__ = r'http://(?:www\.)?sharefiles\.co/\w{12}' +    __version__ = "0.02"      __description__ = """Sharefiles.co hoster plugin""" -    __author_name__ = ("stickell") -    __author_mail__ = ("l.stickell@yahoo.it") - -    HOSTER_NAME = "sharefiles.co" - -    def startDownload(self, link): -        link = link.strip() -        if link.startswith('http://adf.ly'): -            link = re.sub('http://adf.ly/\d+/', '', link) -        if self.captcha: -            self.correctCaptcha() -        self.logDebug('DIRECT LINK: %s' % link) -        self.download(link) +    __author_name__ = "stickell" +    __author_mail__ = "l.stickell@yahoo.it"  getInfo = create_getInfo(ShareFilesCo) | 
