diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-05 23:03:43 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-05 23:03:43 +0200 |
commit | 81508f295cffc40c479fe72f24bdf1dbbedf5d92 (patch) | |
tree | 0cb68f0a525d0ead0cd8130c3adad150c49b81a7 /module/plugins/container/LinkList.py | |
parent | megavideo.com plugin (diff) | |
download | pyload-81508f295cffc40c479fe72f24bdf1dbbedf5d92.tar.xz |
refactored plugins, new plugin manager
Diffstat (limited to 'module/plugins/container/LinkList.py')
-rw-r--r-- | module/plugins/container/LinkList.py | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/module/plugins/container/LinkList.py b/module/plugins/container/LinkList.py index b45ab83d0..cadf491a9 100644 --- a/module/plugins/container/LinkList.py +++ b/module/plugins/container/LinkList.py @@ -2,21 +2,18 @@ # -*- coding: utf-8 -*- -from module.plugins.Plugin import Plugin +from module.plugins.Container import Container -class LinkList(Plugin): +class LinkList(Container): + __name__ = "LinkList" + __version__ = "0.1" + __pattern__ = r"(?!http://).*\.txt" + __description__ = """Read Link Lists in txt format""" + __author_name__ = ("spoob") + __author_mail__ = ("spoob@pyload.org") def __init__(self, parent): - Plugin.__init__(self, parent) - props = {} - props['name'] = "LinkList" - props['type'] = "container" - props['pattern'] = r"(?!http://).*\.txt" - props['version'] = "0.1" - props['description'] = """Read Link Lists in txt format""" - props['author_name'] = ("Spoob") - props['author_mail'] = ("spoob@pyload.org") - self.props = props + Container.__init__(self, parent) self.parent = parent self.html = None self.read_config() |