summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 03:25:42 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 03:25:42 +0100
commitea2d07843d369d8b8fd2aa02930bf549ce94a661 (patch)
treed74957918b4741e3a31c4ba007b23324e16bd53a /module/plugins/crypter
parent[SimpleHoster] Better checkDownload rules (diff)
downloadpyload-ea2d07843d369d8b8fd2aa02930bf549ce94a661.tar.xz
Spare fixes
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/FourChanOrg.py (renamed from module/plugins/crypter/_4ChanOrg.py)4
-rw-r--r--module/plugins/crypter/OneKhDe.py (renamed from module/plugins/crypter/_1KhDe.py)5
-rw-r--r--module/plugins/crypter/XFileSharingProFolder.py2
3 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/crypter/_4ChanOrg.py b/module/plugins/crypter/FourChanOrg.py
index a5e815639..c3fe3db4b 100644
--- a/module/plugins/crypter/_4ChanOrg.py
+++ b/module/plugins/crypter/FourChanOrg.py
@@ -7,8 +7,8 @@ import re
from module.plugins.Crypter import Crypter
-class _4ChanOrg(Crypter):
- __name__ = "4ChanOrg"
+class FourChanOrg(Crypter):
+ __name__ = "FourChanOrg"
__type__ = "crypter"
__version__ = "0.31"
diff --git a/module/plugins/crypter/_1KhDe.py b/module/plugins/crypter/OneKhDe.py
index c8ac3020c..3e75d97b5 100644
--- a/module/plugins/crypter/_1KhDe.py
+++ b/module/plugins/crypter/OneKhDe.py
@@ -3,11 +3,12 @@
import re
from module.unescape import unescape
+
from module.plugins.Crypter import Crypter
-class _1KhDe(Crypter):
- __name__ = "1KhDe"
+class OneKhDe(Crypter):
+ __name__ = "OneKhDe"
__type__ = "crypter"
__version__ = "0.11"
diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py
index 5ad9f7678..55cd41931 100644
--- a/module/plugins/crypter/XFileSharingProFolder.py
+++ b/module/plugins/crypter/XFileSharingProFolder.py
@@ -34,7 +34,7 @@ class XFileSharingProFolder(XFSCrypter):
self.HOSTER_NAME = "".join([part.capitalize() for part in re.split(r'(\.|\d+)', self.HOSTER_DOMAIN) if part != '.'])
if self.HOSTER_NAME[0].isdigit():
- self.HOSTER_NAME = '_' + self.HOSTER_NAME
+ self.HOSTER_NAME = 'X' + self.HOSTER_NAME
account = self.core.accountManager.getAccountPlugin(self.HOSTER_NAME)