summaryrefslogtreecommitdiffstats
path: root/Plugins/UploadedTo.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-05-27 22:19:24 +0200
committerGravatar spoob <spoob@gmx.de> 2009-05-27 22:19:24 +0200
commit89e728b615355befb562c11c8076f661ee61f24f (patch)
tree52c11f16f2181f00ec8624f2ee092d63382ce06a /Plugins/UploadedTo.py
parentfixed log bug (diff)
downloadpyload-89e728b615355befb562c11c8076f661ee61f24f.tar.xz
created uniform plugin config, fixed some bugs
Diffstat (limited to 'Plugins/UploadedTo.py')
-rw-r--r--Plugins/UploadedTo.py21
1 files changed, 9 insertions, 12 deletions
diff --git a/Plugins/UploadedTo.py b/Plugins/UploadedTo.py
index d75a4eb95..17b6e5e7a 100644
--- a/Plugins/UploadedTo.py
+++ b/Plugins/UploadedTo.py
@@ -9,18 +9,15 @@ class UploadedTo(Plugin):
def __init__(self, parent):
Plugin.__init__(self, parent)
- self.plugin_name = "Uploaded.to"
- self.plugin_pattern = r"http://(www\.)?uploaded.to/"
- self.plugin_type = "hoster"
- self.plugin_config = {}
- pluginProp = {}
- pluginProp ['name'] = "UploadedTo"
- pluginProp ['version'] = "0.1"
- pluginProp ['format'] = "*.py"
- pluginProp ['description'] = """Uploaded Plugin"""
- pluginProp ['author'] = "spoob"
- pluginProp ['author_email'] = "spoob@gmx.de"
- self.pluginProp = pluginProp
+ plugin_config = {}
+ plugin_config['name'] = "UploadedTo"
+ plugin_config['type'] = "hoster"
+ plugin_config['pattern'] = r"http://(www\.)?uploaded.to/"
+ plugin_config['version'] = "0.1"
+ plugin_config['description'] = """Uploaded.to Download Plugin"""
+ plugin_config['author_name'] = ("spoob")
+ plugin_config['author_mail'] = ("spoob@pyload.org")
+ self.plugin_config = plugin_config
self.parent = parent
self.html = None
self.html_old = None #time() where loaded the HTML