summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-04-02 17:26:02 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 17:12:18 +0200
commit9e1f185a227d231e604feefde746939c40dd2037 (patch)
tree2a5ae97d83a39287ca402f78e3751c971877a8e3
parentNew hoster: VeohCom (diff)
downloadpyload-9e1f185a227d231e604feefde746939c40dd2037.tar.xz
New hoster: PotloadCom
See also #573 (cherry picked from commit 972a5f08174c527ccfaa8e3881c7d7eab5947640)
-rw-r--r--module/plugins/hoster/PotloadCom.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/module/plugins/hoster/PotloadCom.py b/module/plugins/hoster/PotloadCom.py
new file mode 100644
index 000000000..ffcfad1a5
--- /dev/null
+++ b/module/plugins/hoster/PotloadCom.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+
+class PotloadCom(XFileSharingPro):
+ __name__ = "PotloadCom"
+ __type__ = "hoster"
+ __pattern__ = r"http://(?:www\.)?potload\.com/\w{12}"
+ __version__ = "0.01"
+ __description__ = """billionuploads.com hoster plugin"""
+ __author_name__ = ("stickell")
+ __author_mail__ = ("l.stickell@yahoo.it")
+
+ FILE_INFO_PATTERN = r'<h[1-6]>(?P<N>.+) \((?P<S>\d+) (?P<U>\w+)\)</h'
+ HOSTER_NAME = "potload.com"
+
+
+getInfo = create_getInfo(PotloadCom)