diff options
| author | 2014-12-13 15:56:57 +0100 | |
|---|---|---|
| committer | 2014-12-13 15:56:57 +0100 | |
| commit | acc46fc3497a66a427b795b4a22c6e71d69185a1 (patch) | |
| tree | 2d315b838a76435fc456b972c99c28d1732b2f70 /pyload/plugins/hoster/FilepupNet.py | |
| parent | Code fixes (diff) | |
| download | pyload-acc46fc3497a66a427b795b4a22c6e71d69185a1.tar.xz | |
Update
Diffstat (limited to 'pyload/plugins/hoster/FilepupNet.py')
| -rw-r--r-- | pyload/plugins/hoster/FilepupNet.py | 51 | 
1 files changed, 0 insertions, 51 deletions
diff --git a/pyload/plugins/hoster/FilepupNet.py b/pyload/plugins/hoster/FilepupNet.py deleted file mode 100644 index 27b3acb44..000000000 --- a/pyload/plugins/hoster/FilepupNet.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Test links: -# http://www.filepup.net/files/k5w4ZVoF1410184283.html -# http://www.filepup.net/files/R4GBq9XH1410186553.html - -import re - -from pyload.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo - - -class FilepupNet(SimpleHoster): -    __name    = "FilepupNet" -    __type    = "hoster" -    __version = "0.02" - -    __pattern = r'http://(?:www\.)?filepup\.net/files/\w+' - -    __description = """Filepup.net hoster plugin""" -    __license     = "GPLv3" -    __authors     = [("zapp-brannigan", "fuerst.reinje@web.de"), -                       ("Walter Purcaro", "vuolter@gmail.com")] - - -    NAME_PATTERN = r'>(?P<N>.+?)</h1>' -    SIZE_PATTERN = r'class="fa fa-archive"></i> \((?P<S>[\d.,]+) (?P<U>[\w^_]+)' - -    OFFLINE_PATTERN = r'>This file has been deleted' - -    LINK_PATTERN = r'(http://www\.filepup\.net/get/.+?)\'' - - -    def setup(self): -        self.multiDL = False -        self.chunkLimit = 1 - - -    def handleFree(self): -        m = re.search(self.LINK_PATTERN, self.html) -        if m is None: -            self.error(_("Download link not found")) - -        dl_link = m.group(1) -        self.download(dl_link, post={'task': "download"}) - -        check = self.checkDownload({'html': re.compile("html")}) -        if check == "html": -            self.error(_("Downloaded file is an html page")) - - -getInfo = create_getInfo(FilepupNet)  | 
