diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-02 22:47:07 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-02 22:47:07 +0100 |
commit | 772e47ef806d18fd209e910be0535bce7c07dc7b (patch) | |
tree | dc6c2027e6e306da70817be917a7c426dc8fd044 /module/plugins/hoster/BillionuploadsCom.py | |
parent | [LetitbitNet][Share4webCom][UnibytesCom] https support + use urljoin + update... (diff) | |
download | pyload-772e47ef806d18fd209e910be0535bce7c07dc7b.tar.xz |
Update all other plugins
Diffstat (limited to 'module/plugins/hoster/BillionuploadsCom.py')
-rw-r--r-- | module/plugins/hoster/BillionuploadsCom.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/BillionuploadsCom.py b/module/plugins/hoster/BillionuploadsCom.py index f4859efd9..b20ace0f1 100644 --- a/module/plugins/hoster/BillionuploadsCom.py +++ b/module/plugins/hoster/BillionuploadsCom.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- -from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo +from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo -class BillionuploadsCom(XFSPHoster): +class BillionuploadsCom(XFSHoster): __name__ = "BillionuploadsCom" __type__ = "hoster" - __version__ = "0.03" + __version__ = "0.04" __pattern__ = r'http://(?:www\.)?billionuploads\.com/\w{12}' @@ -15,10 +15,10 @@ class BillionuploadsCom(XFSPHoster): __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] - HOSTER_NAME = "billionuploads.com" + HOSTER_DOMAIN = "billionuploads.com" - FILE_NAME_PATTERN = r'<td class="dofir" title="(?P<N>.+?)"' - FILE_SIZE_PATTERN = r'<td class="dofir">(?P<S>[\d.,]+) (?P<U>[\w^_]+)' + NAME_PATTERN = r'<td class="dofir" title="(?P<N>.+?)"' + SIZE_PATTERN = r'<td class="dofir">(?P<S>[\d.,]+) (?P<U>[\w^_]+)' getInfo = create_getInfo(BillionuploadsCom) |