diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-25 18:22:27 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-25 18:22:27 +0200 |
commit | 29f9dc8fb3396b03d732ebcbeb1cc8f00fe13897 (patch) | |
tree | f2a910cbea747a7b0c0a50d6c66691e54f5ef47f /core/module/plugins/hoster/BasePlugin.py | |
parent | merged gui (diff) | |
download | pyload-29f9dc8fb3396b03d732ebcbeb1cc8f00fe13897.tar.xz |
new dirs
Diffstat (limited to 'core/module/plugins/hoster/BasePlugin.py')
-rw-r--r-- | core/module/plugins/hoster/BasePlugin.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/core/module/plugins/hoster/BasePlugin.py b/core/module/plugins/hoster/BasePlugin.py deleted file mode 100644 index 09545d493..000000000 --- a/core/module/plugins/hoster/BasePlugin.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -import re -from module.plugins.Hoster import Hoster - -class BasePlugin(Hoster): - __name__ = "BasePlugin" - __type__ = "hoster" - __pattern__ = r"^unmatchable$" - __version__ = "0.1" - __description__ = """Base Plugin when any other didnt fit""" - __author_name__ = ("RaNaN") - __author_mail__ = ("RaNaN@pyload.org") - - def process(self, pyfile): - """main function""" - - if pyfile.url.startswith("http://"): - - pyfile.name = re.findall("([^\/=]+)", pyfile.url)[-1] - self.download(pyfile.url) - - else: - self.fail("No Plugin matched and not a downloadable url.")
\ No newline at end of file |