summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/CramitIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/CramitIn.py')
-rw-r--r--pyload/plugin/hoster/CramitIn.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/pyload/plugin/hoster/CramitIn.py b/pyload/plugin/hoster/CramitIn.py
new file mode 100644
index 000000000..3ccb3cfc6
--- /dev/null
+++ b/pyload/plugin/hoster/CramitIn.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugin.internal.XFSHoster import XFSHoster
+
+
+class CramitIn(XFSHoster):
+ __name__ = "CramitIn"
+ __type__ = "hoster"
+ __version__ = "0.07"
+
+ __pattern__ = r'http://(?:www\.)?cramit\.in/\w{12}'
+
+ __description__ = """Cramit.in hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+
+
+ INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)'
+
+ LINK_PATTERN = r'href="(http://cramit\.in/file_download/.*?)"'