diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-11-21 00:31:39 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-11-23 18:06:01 +0100 |
commit | 4cc24cbbce4ca12b5c55cf9b030105be4ee08415 (patch) | |
tree | aeca9f6150de5282e6626c6180cdb9f9366399de /module/plugins/internal | |
parent | Merge pull request #386 from vuolter/s/setup_clean (diff) | |
download | pyload-4cc24cbbce4ca12b5c55cf9b030105be4ee08415.tar.xz |
Crypter: EasybytezComFolder: Fixed bad url processing (result in SimpleCrypter update)
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index f0fe0b764..d0b36bb6c 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -21,11 +21,12 @@ import re from module.plugins.Crypter import Crypter from module.utils import html_unescape +from module.plugins.internal.SimpleHoster import replace_patterns class SimpleCrypter(Crypter): __name__ = "SimpleCrypter" - __version__ = "0.06" + __version__ = "0.07" __pattern__ = None __type__ = "crypter" __description__ = """Base crypter plugin""" @@ -52,7 +53,11 @@ class SimpleCrypter(Crypter): must return the html of the page number 'page_n' """ + FILE_SIZE_REPLACEMENTS = [] + def decrypt(self, pyfile): + pyfile.url = replace_patterns(pyfile.url, self.FILE_URL_REPLACEMENTS) + self.html = self.load(pyfile.url, decode=True) package_name, folder_name = self.getPackageNameAndFolder() |