summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-14 19:29:47 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-14 19:29:47 +0200
commit310eff44408075a3563284e74f3a72fd82d2c5ab (patch)
tree318de3ed0fbb015fb8c970826d82e37c85ad9c81 /module/plugins/internal
parentUpdate Account (diff)
downloadpyload-310eff44408075a3563284e74f3a72fd82d2c5ab.tar.xz
Crypter back to Plugin class
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/Crypter.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/internal/Crypter.py b/module/plugins/internal/Crypter.py
index 182354287..3db36ca8e 100644
--- a/module/plugins/internal/Crypter.py
+++ b/module/plugins/internal/Crypter.py
@@ -2,11 +2,11 @@
import urlparse
-from module.plugins.internal.Hoster import Hoster
+from module.plugins.internal.Plugin import Plugin
from module.utils import decode, save_path
-class Crypter(Hoster):
+class Crypter(Plugin):
"""
Base plugin for crypter.
Overwrite `decrypt` in your subclassed plugin.
@@ -29,6 +29,8 @@ class Crypter(Hoster):
def __init__(self, pyfile):
+ super(Crypter, self).__init__(self, pyfile)
+
#: Provide information in dict here
self.info = {} #@TODO: Move to Plugin
@@ -38,7 +40,8 @@ class Crypter(Hoster):
#: List of urls, pyLoad will generate packagenames
self.urls = []
- Plugin.__init__(self, pyfile)
+ self.multiDL = True
+ self.limitDL = 0
def process(self, pyfile):