summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-05-29 22:15:30 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-05-29 22:15:30 +0200
commit3a533d7d38c22dde3503569819158c503900dc96 (patch)
treecd201ecb07c73a3b1cf87c393b75406bda282770 /module
parent[HugefilesNet] [XFSHoster] Version up (diff)
downloadpyload-3a533d7d38c22dde3503569819158c503900dc96.tar.xz
[UserscloudCom] Update NAME_PATTERN & SIZE_PATTERN
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/UserscloudCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/UserscloudCom.py b/module/plugins/hoster/UserscloudCom.py
index 4c8f70ce3..33aa4c23b 100644
--- a/module/plugins/hoster/UserscloudCom.py
+++ b/module/plugins/hoster/UserscloudCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster
class UserscloudCom(SimpleHoster):
__name__ = "UserscloudCom"
__type__ = "hoster"
- __version__ = "0.04"
+ __version__ = "0.05"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?userscloud\.com/\w{12}'
@@ -23,8 +23,8 @@ class UserscloudCom(SimpleHoster):
__authors__ = [("GammaC0de", None)]
- NAME_PATTERN = r'<h2 class="strong margin-none">(?P<N>.+?)<'
- SIZE_PATTERN = r'<div class="ribbon">(?P<S>[\d.,]+) (?P<U>[\w^_]+)<'
+ NAME_PATTERN = r'<h2><b>(?P<N>.+?)</b></h2>'
+ SIZE_PATTERN = r'<b>Download</b> <small><font color="#FFFFFF">\((?P<S>[\d.,]+) (?P<U>[\w^_]+)\)'
OFFLINE_PATTERN = r'The file you are trying to download is no longer available'