diff options
author | 2013-04-06 00:07:25 +0200 | |
---|---|---|
committer | 2013-04-06 00:07:25 +0200 | |
commit | 7379731d2f26e0a45e19b8f1cc6342115a0f559c (patch) | |
tree | 701f5e4c5103d047b702237a8d84a66edd7e054e /module/plugins/internal/SimpleCrypter.py | |
parent | parseFileSize fix (diff) | |
parent | EgoFilesCom: fixed bug in premium downloads. (diff) | |
download | pyload-7379731d2f26e0a45e19b8f1cc6342115a0f559c.tar.xz |
Merge plugins from stable.
Conflicts:
module/plugins/internal/UnRar.py
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index b8942c724..b2cc03985 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -18,18 +18,20 @@ """ import re + from module.plugins.Crypter import Crypter + class SimpleCrypter(Crypter): __name__ = "SimpleCrypter" - __version__ = "0.03" + __version__ = "0.04" __pattern__ = None __type__ = "crypter" __description__ = """Base crypter plugin""" __author_name__ = ("stickell", "zoidberg") __author_mail__ = ("l.stickell@yahoo.it", "zoidberg@mujmail.cz") """ - These patterns should be defined by each hoster: + These patterns should be defined by each crypter: LINK_PATTERN: group(1) must be a download link example: <div class="link"><a href="(http://speedload.org/\w+) @@ -39,7 +41,7 @@ class SimpleCrypter(Crypter): """ def decrypt(self, pyfile): - self.html = self.load(pyfile.url) + self.html = self.load(pyfile.url, decode=True) package_name, folder_name = self.getPackageNameAndFolder() |