summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/JumbofilesCom.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-05-21 00:48:34 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-05-21 00:48:34 +0200
commit66546318cd9faf655318ff56722294565fa8397a (patch)
tree847a3862a92df8d0f3180e8cd8f8f640ef0a43c9 /module/plugins/hoster/JumbofilesCom.py
parentclosed #602, #588 (diff)
downloadpyload-66546318cd9faf655318ff56722294565fa8397a.tar.xz
update filefactory, add datei.to, jumbofiles.com
Diffstat (limited to 'module/plugins/hoster/JumbofilesCom.py')
-rw-r--r--module/plugins/hoster/JumbofilesCom.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/module/plugins/hoster/JumbofilesCom.py b/module/plugins/hoster/JumbofilesCom.py
new file mode 100644
index 000000000..a338b31cc
--- /dev/null
+++ b/module/plugins/hoster/JumbofilesCom.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+import re
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+from module.utils import html_unescape
+
+class JumbofilesCom(XFileSharingPro):
+ __name__ = "JumbofilesCom"
+ __type__ = "hoster"
+ __pattern__ = r"http://(?:\w*\.)*(jumbofiles.com)/\w{12}"
+ __version__ = "0.01"
+ __description__ = """JumboFiles.com hoster plugin"""
+ __author_name__ = ("zoidberg")
+ __author_mail__ = ("zoidberg@mujmail.cz")
+
+ FILE_INFO_PATTERN = '<TR><TD>(?P<N>[^<]+?)\s*<small>\((?P<S>[\d.]+)\s*(?P<U>[KMG][bB])\)</small></TD></TR>'
+ FILE_OFFLINE_PATTERN = 'Not Found or Deleted / Disabled due to inactivity or DMCA'
+ DIRECT_LINK_PATTERN = '<FORM METHOD="LINK" ACTION="(.*?)"'
+
+getInfo = create_getInfo(JumbofilesCom) \ No newline at end of file