summaryrefslogtreecommitdiffstats
path: root/Plugins/RapidshareCom.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/RapidshareCom.py
parentfixed log bug (diff)
downloadpyload-89e728b615355befb562c11c8076f661ee61f24f.tar.xz
created uniform plugin config, fixed some bugs
Diffstat (limited to 'Plugins/RapidshareCom.py')
-rw-r--r--Plugins/RapidshareCom.py21
1 files changed, 9 insertions, 12 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py
index 0579ac8f8..68fcd7cf6 100644
--- a/Plugins/RapidshareCom.py
+++ b/Plugins/RapidshareCom.py
@@ -13,18 +13,15 @@ class RapidshareCom(Plugin):
def __init__(self, parent):
Plugin.__init__(self, parent)
- self.plugin_name = "Rapidshare.com"
- self.plugin_pattern = r"http://(?:www.)?rapidshare.com/files/"
- self.plugin_type = "hoster"
- self.plugin_config = {}
- pluginProp = {}
- pluginProp ['name'] = "RapidshareCom"
- pluginProp ['version'] = "0.1"
- pluginProp ['format'] = "*.py"
- pluginProp ['description'] = """Rapidshare Plugin"""
- pluginProp ['author'] = "spoob"
- pluginProp ['author_email'] = "nn@nn.de"
- self.pluginProp = pluginProp
+ plugin_config = {}
+ plugin_config['name'] = "RapidshareCom"
+ plugin_config['type'] = "hoster"
+ plugin_config['pattern'] = r"http://(?:www.)?rapidshare.com/files/"
+ plugin_config['version'] = "0.1"
+ plugin_config['description'] = """Rapidshare.com 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, None]
self.html_old = None #time() where loaded the HTML