summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-17 21:10:40 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-17 21:10:40 +0200
commit6a6373e9b63ce7943f1a6592a641e3d8b3f31e09 (patch)
treee9b3b167308e4d70ce48e6e78173aa2fb9df7049 /module/plugins
parentNew accounts LinestorageCom and UploadcCom (diff)
downloadpyload-6a6373e9b63ce7943f1a6592a641e3d8b3f31e09.tar.xz
Fix TRAFFIC_LEFT_PATTERN in RapidfileshareNet and TusfilesNet accounts
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/accounts/RapidfileshareNet.py5
-rw-r--r--module/plugins/accounts/TusfilesNet.py4
-rw-r--r--module/plugins/hooks/XFileSharingPro.py2
3 files changed, 5 insertions, 6 deletions
diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py
index 99a4af98b..4a146f398 100644
--- a/module/plugins/accounts/RapidfileshareNet.py
+++ b/module/plugins/accounts/RapidfileshareNet.py
@@ -6,7 +6,7 @@ from module.plugins.internal.XFSPAccount import XFSPAccount
class RapidfileshareNet(XFSPAccount):
__name__ = "RapidfileshareNet"
__type__ = "account"
- __version__ = "0.02"
+ __version__ = "0.03"
__description__ = """Rapidfileshare.net account plugin"""
__license__ = "GPLv3"
@@ -15,5 +15,4 @@ class RapidfileshareNet(XFSPAccount):
HOSTER_URL = "http://www.rapidfileshare.net/"
- TRAFFIC_LEFT_PATTERN = r'>Traffic available today:</TD><TD><label for="name">\s*(?P<S>[\d.,]+)\s*(?:(?P<U>[\w^_]+)\s*)?</label></TD></TR>'
-
+ TRAFFIC_LEFT_PATTERN = r'>Traffic available today:</TD><TD><label for="name">\s*(?P<S>[\d.,]+)\s*(?P<U>[\w^_]+)\s*</label></TD></TR>'
diff --git a/module/plugins/accounts/TusfilesNet.py b/module/plugins/accounts/TusfilesNet.py
index 775aab9c0..ab5b57834 100644
--- a/module/plugins/accounts/TusfilesNet.py
+++ b/module/plugins/accounts/TusfilesNet.py
@@ -11,7 +11,7 @@ from module.utils import parseFileSize
class TusfilesNet(XFSPAccount):
__name__ = "TusfilesNet"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """ Tusfile.net account plugin """
__license__ = "GPLv3"
@@ -21,4 +21,4 @@ class TusfilesNet(XFSPAccount):
HOSTER_URL = "http://www.tusfiles.net/"
VALID_UNTIL_PATTERN = r'<span class="label label-default">([^<]+)</span>'
- TRAFFIC_LEFT_PATTERN = r'<td><img src="//www\.tusfiles\.net/i/icon/meter\.png" alt=""/></td>\n<td>&nbsp;(?P<S>[^<]+)</td>'
+ TRAFFIC_LEFT_PATTERN = r'<td><img src="//www\.tusfiles\.net/i/icon/meter\.png" alt=""/></td>\n<td>&nbsp;(?P<S>[\d.,]+)\s*(?P<U>[\w^_]+)\s*</td>'
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py
index 62a5791b7..44d376905 100644
--- a/module/plugins/hooks/XFileSharingPro.py
+++ b/module/plugins/hooks/XFileSharingPro.py
@@ -28,7 +28,7 @@ class XFileSharingPro(Hook):
event_list = ["pluginConfigChanged"]
HOSTER_LIST = [#WORKING HOSTERS:
- "eyesfile.co", "eyesfile.com", "fileband.com", "filedwon.com", "hostingbulk.com", "linestorage.com",
+ "eyesfile.ca", "fileband.com", "filedwon.com", "hostingbulk.com", "linestorage.com",
"ravishare.com", "sharesix.com", "thefile.me", "verzend.be", "xvidstage.com",
#NOT TESTED:
"101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com", "linkzhost.com", "mightyupload.com",