summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CramitIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-08-01 19:35:59 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-08-01 19:35:59 +0200
commitba916633f2bedb04c7358000b91aed69f52e8e43 (patch)
tree5b0e323417bf2ac9f3d88b4234c7e8da98d30f5c /module/plugins/hoster/CramitIn.py
parent[DepositfilesCom] Fix missing declaration (thx hmlinaric) (diff)
downloadpyload-ba916633f2bedb04c7358000b91aed69f52e8e43.tar.xz
Remove trailing whitespaces + remove license headers + import urllib methods directly + sort and fix key attributes + use save_join instead join + sort some import declarations + other minor code cosmetics
Diffstat (limited to 'module/plugins/hoster/CramitIn.py')
-rw-r--r--module/plugins/hoster/CramitIn.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/hoster/CramitIn.py b/module/plugins/hoster/CramitIn.py
index 79ed07e73..6a872ab34 100644
--- a/module/plugins/hoster/CramitIn.py
+++ b/module/plugins/hoster/CramitIn.py
@@ -6,8 +6,10 @@ from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInf
class CramitIn(XFileSharingPro):
__name__ = "CramitIn"
__type__ = "hoster"
- __pattern__ = r'http://(?:www\.)?cramit.in/\w{12}'
__version__ = "0.04"
+
+ __pattern__ = r'http://(?:www\.)?cramit.in/\w{12}'
+
__description__ = """Cramit.in hoster plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
@@ -17,6 +19,7 @@ class CramitIn(XFileSharingPro):
FILE_INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)'
LINK_PATTERN = r'href="(http://cramit.in/file_download/.*?)"'
+
def setup(self):
self.resumeDownload = self.multiDL = self.premium