summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BillionuploadsCom.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-11-09 23:14:33 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-11-09 23:14:33 +0100
commit7e1d66ad5fdc3908e20d532d98ac819dd3437fe1 (patch)
treecc5504dbf49bf7345bd8cd3706033b155eff6ab2 /module/plugins/hoster/BillionuploadsCom.py
parentshare76.com plugin by R2D2 C3PO - closed #710 (diff)
downloadpyload-7e1d66ad5fdc3908e20d532d98ac819dd3437fe1.tar.xz
update XFileSharingPro & add billionuploads,sendmyway,sharebees plugins
Diffstat (limited to 'module/plugins/hoster/BillionuploadsCom.py')
-rw-r--r--module/plugins/hoster/BillionuploadsCom.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/module/plugins/hoster/BillionuploadsCom.py b/module/plugins/hoster/BillionuploadsCom.py
new file mode 100644
index 000000000..5b053d547
--- /dev/null
+++ b/module/plugins/hoster/BillionuploadsCom.py
@@ -0,0 +1,17 @@
+# -*- coding: utf-8 -*-
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+class BillionuploadsCom(XFileSharingPro):
+ __name__ = "BillionuploadsCom"
+ __type__ = "hoster"
+ __pattern__ = r"http://(?:\w*\.)*?billionuploads.com/\w{12}"
+ __version__ = "0.01"
+ __description__ = """billionuploads.com hoster plugin"""
+ __author_name__ = ("zoidberg")
+ __author_mail__ = ("zoidberg@mujmail.cz")
+
+ FILE_NAME_PATTERN = r'<b>Filename:</b>(?P<N>.*?)<br>'
+ FILE_SIZE_PATTERN = r'<b>Size:</b>(?P<S>.*?)<br>'
+ HOSTER_NAME = "billionuploads.com"
+
+getInfo = create_getInfo(BillionuploadsCom)