diff options
Diffstat (limited to 'pyload/plugins/hoster/PotloadCom.py')
-rw-r--r-- | pyload/plugins/hoster/PotloadCom.py | 22 |
1 files changed, 22 insertions, 0 deletions
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'<h[1-6]>(?P<N>.+) \((?P<S>\d+) (?P<U>\w+)\)</h' + + +getInfo = create_getInfo(PotloadCom) |