summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/JunocloudMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/JunocloudMe.py')
-rw-r--r--module/plugins/hoster/JunocloudMe.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hoster/JunocloudMe.py b/module/plugins/hoster/JunocloudMe.py
index 79d632918..216c56cb1 100644
--- a/module/plugins/hoster/JunocloudMe.py
+++ b/module/plugins/hoster/JunocloudMe.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 JunocloudMe(XFSPHoster):
+class JunocloudMe(XFSHoster):
__name__ = "JunocloudMe"
__type__ = "hoster"
- __version__ = "0.01"
+ __version__ = "0.02"
__pattern__ = r'http://(?:\w+\.)?junocloud\.me/\w{12}'
@@ -15,12 +15,12 @@ class JunocloudMe(XFSPHoster):
__authors__ = [("guidobelix", "guidobelix@hotmail.it")]
- HOSTER_NAME = "junocloud.me"
+ HOSTER_DOMAIN = "junocloud.me"
- FILE_URL_REPLACEMENTS = [(r'//(junocloud)', r'//dl3.\1')]
+ URL_REPLACEMENTS = [(r'//(junocloud)', r'//dl3.\1')]
- FILE_NAME_PATTERN = r'<p class="request_file">http://junocloud.me/w{12}/(?P<N>.+?)</p>'
- FILE_SIZE_PATTERN = r'<p class="request_filesize">Size: (?P<S>[\d.,]+) (?P<U>[\w^_]+)</p>'
+ NAME_PATTERN = r'<p class="request_file">http://junocloud.me/w{12}/(?P<N>.+?)</p>'
+ SIZE_PATTERN = r'<p class="request_filesize">Size: (?P<S>[\d.,]+) (?P<U>[\w^_]+)</p>'
OFFLINE_PATTERN = r'>No such file with this filename<'
TEMP_OFFLINE_PATTERN = r'The page may have been renamed, removed or be temporarily unavailable.<'