summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/CramitIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/CramitIn.py')
-rw-r--r--pyload/plugins/hoster/CramitIn.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/CramitIn.py b/pyload/plugins/hoster/CramitIn.py
new file mode 100644
index 000000000..7091e02c2
--- /dev/null
+++ b/pyload/plugins/hoster/CramitIn.py
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+
+class CramitIn(XFileSharingPro):
+ __name__ = "CramitIn"
+ __type__ = "hoster"
+ __version__ = "0.04"
+
+ __pattern__ = r'http://(?:www\.)?cramit\.in/\w{12}'
+
+ __description__ = """Cramit.in hoster plugin"""
+ __author_name__ = "zoidberg"
+ __author_mail__ = "zoidberg@mujmail.cz"
+
+
+ HOSTER_NAME = "cramit.in"
+
+ FILE_INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)'
+ LINK_PATTERN = r'href="(http://cramit.in/file_download/.*?)"'
+
+
+getInfo = create_getInfo(CramitIn)