summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HundredEightyUploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/HundredEightyUploadCom.py')
-rw-r--r--module/plugins/hoster/HundredEightyUploadCom.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/HundredEightyUploadCom.py b/module/plugins/hoster/HundredEightyUploadCom.py
index dbe37f46f..48e0c3d8c 100644
--- a/module/plugins/hoster/HundredEightyUploadCom.py
+++ b/module/plugins/hoster/HundredEightyUploadCom.py
@@ -3,13 +3,13 @@
# Test links:
# http://180upload.com/js9qdm6kjnrs
-from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class HundredEightyUploadCom(XFSPHoster):
+class HundredEightyUploadCom(XFSHoster):
__name__ = "HundredEightyUploadCom"
__type__ = "hoster"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'http://(?:www\.)?180upload\.com/\w{12}'
@@ -18,10 +18,10 @@ class HundredEightyUploadCom(XFSPHoster):
__authors__ = [("stickell", "l.stickell@yahoo.it")]
- HOSTER_NAME = "180upload.com"
+ HOSTER_DOMAIN = "180upload.com"
- FILE_NAME_PATTERN = r'Filename:</b></td><td nowrap>(?P<N>.+)</td></tr>-->'
- FILE_SIZE_PATTERN = r'Size:</b></td><td>(?P<S>[\d.,]+) (?P<U>[\w^_]+)\s*<small>'
+ NAME_PATTERN = r'Filename:</b></td><td nowrap>(?P<N>.+)</td></tr>-->'
+ SIZE_PATTERN = r'Size:</b></td><td>(?P<S>[\d.,]+) (?P<U>[\w^_]+)\s*<small>'
getInfo = create_getInfo(HundredEightyUploadCom)