summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CramitIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/CramitIn.py')
-rw-r--r--module/plugins/hoster/CramitIn.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/module/plugins/hoster/CramitIn.py b/module/plugins/hoster/CramitIn.py
index 171fba0ff..68df322f5 100644
--- a/module/plugins/hoster/CramitIn.py
+++ b/module/plugins/hoster/CramitIn.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
class CramitIn(XFileSharingPro):
__name__ = "CramitIn"
__type__ = "hoster"
@@ -9,12 +10,13 @@ class CramitIn(XFileSharingPro):
__description__ = """Cramit.in hoster plugin"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
-
+
FILE_INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)'
- DIRECT_LINK_PATTERN = r'href="(http://cramit.in/file_download/.*?)"'
+ DIRECT_LINK_PATTERN = r'href="(http://cramit.in/file_download/.*?)"'
HOSTER_NAME = "cramit.in"
-
+
def setup(self):
- self.resumeDownload = self.multiDL = self.premium
+ self.resumeDownload = self.multiDL = self.premium
+
-getInfo = create_getInfo(CramitIn) \ No newline at end of file
+getInfo = create_getInfo(CramitIn)