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/SendmywayCom.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/SendmywayCom.py')
-rw-r--r-- | module/plugins/hoster/SendmywayCom.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/SendmywayCom.py b/module/plugins/hoster/SendmywayCom.py index 8fd65f2b2..4254922fc 100644 --- a/module/plugins/hoster/SendmywayCom.py +++ b/module/plugins/hoster/SendmywayCom.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 SendmywayCom(XFSPHoster): +class SendmywayCom(XFSHoster): __name__ = "SendmywayCom" __type__ = "hoster" - __version__ = "0.03" + __version__ = "0.04" __pattern__ = r'http://(?:www\.)?sendmyway\.com/\w{12}' @@ -15,10 +15,10 @@ class SendmywayCom(XFSPHoster): __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] - HOSTER_NAME = "sendmyway.com" + HOSTER_DOMAIN = "sendmyway.com" - FILE_NAME_PATTERN = r'<p class="file-name" ><.*?>\s*(?P<N>.+)' - FILE_SIZE_PATTERN = r'<small>\((?P<S>\d+) bytes\)</small>' + NAME_PATTERN = r'<p class="file-name" ><.*?>\s*(?P<N>.+)' + SIZE_PATTERN = r'<small>\((?P<S>\d+) bytes\)</small>' getInfo = create_getInfo(SendmywayCom) |