From 68d662e689cd42687341c550fb6ebb74e6968d21 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 8 Sep 2014 00:29:57 +0200 Subject: module -> pyload --- pyload/plugins/hoster/PotloadCom.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pyload/plugins/hoster/PotloadCom.py (limited to 'pyload/plugins/hoster/PotloadCom.py') diff --git a/pyload/plugins/hoster/PotloadCom.py b/pyload/plugins/hoster/PotloadCom.py new file mode 100644 index 000000000..6a97d0289 --- /dev/null +++ b/pyload/plugins/hoster/PotloadCom.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- + +from pyload.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class PotloadCom(XFileSharingPro): + __name__ = "PotloadCom" + __type__ = "hoster" + __version__ = "0.01" + + __pattern__ = r'http://(?:www\.)?potload\.com/\w{12}' + + __description__ = """Potload.com hoster plugin""" + __author_name__ = "stickell" + __author_mail__ = "l.stickell@yahoo.it" + + HOSTER_NAME = "potload.com" + + FILE_INFO_PATTERN = r'(?P.+) \((?P\d+) (?P\w+)\)