diff options
author | Stefano <l.stickell@yahoo.it> | 2014-04-02 17:26:02 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-02 17:26:02 +0200 |
commit | 972a5f08174c527ccfaa8e3881c7d7eab5947640 (patch) | |
tree | c5421185919512a0dcf90b2b5e193f8277c48d4d /module/plugins/hoster | |
parent | New hoster: VeohCom (diff) | |
download | pyload-972a5f08174c527ccfaa8e3881c7d7eab5947640.tar.xz |
New hoster: PotloadCom
See also #573
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/PotloadCom.py | 18 |
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) |