summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/HundredEightyUploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/HundredEightyUploadCom.py')
-rw-r--r--pyload/plugins/hoster/HundredEightyUploadCom.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/HundredEightyUploadCom.py b/pyload/plugins/hoster/HundredEightyUploadCom.py
new file mode 100644
index 000000000..6b9516c66
--- /dev/null
+++ b/pyload/plugins/hoster/HundredEightyUploadCom.py
@@ -0,0 +1,27 @@
+# -*- coding: utf-8 -*-
+#
+# Test links:
+# http://180upload.com/js9qdm6kjnrs
+
+from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+
+
+class HundredEightyUploadCom(XFSPHoster):
+ __name__ = "HundredEightyUploadCom"
+ __type__ = "hoster"
+ __version__ = "0.01"
+
+ __pattern__ = r'http://(?:www\.)?180upload\.com/\w{12}'
+
+ __description__ = """180upload.com hoster plugin"""
+ __author_name__ = "stickell"
+ __author_mail__ = "l.stickell@yahoo.it"
+
+
+ HOSTER_NAME = "180upload.com"
+
+ FILE_NAME_PATTERN = r'Filename:</b></td><td nowrap>(?P<N>.+)</td></tr>-->'
+ FILE_SIZE_PATTERN = r'Size:</b></td><td>(?P<S>[\d.]+) (?P<U>[A-Z]+)\s*<small>'
+
+
+getInfo = create_getInfo(HundredEightyUploadCom)