summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/UptoboxCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/UptoboxCom.py')
-rw-r--r--pyload/plugins/hoster/UptoboxCom.py20
1 files changed, 9 insertions, 11 deletions
diff --git a/pyload/plugins/hoster/UptoboxCom.py b/pyload/plugins/hoster/UptoboxCom.py
index 2d6148905..eeddb96b6 100644
--- a/pyload/plugins/hoster/UptoboxCom.py
+++ b/pyload/plugins/hoster/UptoboxCom.py
@@ -1,27 +1,25 @@
# -*- coding: utf-8 -*-
-import re
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
-
-class UptoboxCom(XFSPHoster):
- __name__ = "UptoboxCom"
- __type__ = "hoster"
- __version__ = "0.10"
+class UptoboxCom(XFSHoster):
+ __name__ = "UptoboxCom"
+ __type__ = "hoster"
+ __version__ = "0.15"
__pattern__ = r'https?://(?:www\.)?uptobox\.com/\w{12}'
__description__ = """Uptobox.com hoster plugin"""
- __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- HOSTER_NAME = "uptobox.com"
+ HOSTER_DOMAIN = "uptobox.com"
- FILE_INFO_PATTERN = r'"para_title">(?P<N>.+) \((?P<S>[\d.]+) (?P<U>\w+)\)'
+ INFO_PATTERN = r'"para_title">(?P<N>.+) \((?P<S>[\d.,]+) (?P<U>[\w^_]+)\)'
OFFLINE_PATTERN = r'>(File not found|Access Denied|404 Not Found)'
- WAIT_PATTERN = r'>(\d+)</span> seconds<'
LINK_PATTERN = r'"(https?://\w+\.uptobox\.com/d/.*?)"'