summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NosuploadCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-02 22:47:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-02 22:47:07 +0100
commit772e47ef806d18fd209e910be0535bce7c07dc7b (patch)
treedc6c2027e6e306da70817be917a7c426dc8fd044 /module/plugins/hoster/NosuploadCom.py
parent[LetitbitNet][Share4webCom][UnibytesCom] https support + use urljoin + update... (diff)
downloadpyload-772e47ef806d18fd209e910be0535bce7c07dc7b.tar.xz
Update all other plugins
Diffstat (limited to 'module/plugins/hoster/NosuploadCom.py')
-rw-r--r--module/plugins/hoster/NosuploadCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/NosuploadCom.py b/module/plugins/hoster/NosuploadCom.py
index a673610d9..b2255ca54 100644
--- a/module/plugins/hoster/NosuploadCom.py
+++ b/module/plugins/hoster/NosuploadCom.py
@@ -2,13 +2,13 @@
import re
-from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class NosuploadCom(XFSPHoster):
+class NosuploadCom(XFSHoster):
__name__ = "NosuploadCom"
__type__ = "hoster"
- __version__ = "0.3"
+ __version__ = "0.31"
__pattern__ = r'http://(?:www\.)?nosupload\.com/\?d=\w{12}'
@@ -17,9 +17,9 @@ class NosuploadCom(XFSPHoster):
__authors__ = [("igel", "igelkun@myopera.com")]
- HOSTER_NAME = "nosupload.com"
+ HOSTER_DOMAIN = "nosupload.com"
- FILE_SIZE_PATTERN = r'<p><strong>Size:</strong> (?P<S>[\d.,]+) (?P<U>[\w^_]+)</p>'
+ SIZE_PATTERN = r'<p><strong>Size:</strong> (?P<S>[\d.,]+) (?P<U>[\w^_]+)</p>'
LINK_PATTERN = r'<a class="select" href="(http://.+?)">Download</a>'
WAIT_PATTERN = r'Please wait.*?>(\d+)</span>'