summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadedTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UploadedTo.py')
-rw-r--r--module/plugins/hoster/UploadedTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 99db802cf..109ad0f1c 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -56,7 +56,7 @@ def parseFileInfo(self, url='', html=''):
html = self.html
name, size, status, found, fileid = url, 0, 3, None, None
- if re.search(self.FILE_OFFLINE_PATTERN, html):
+ if re.search(self.OFFLINE_PATTERN, html):
# File offline
status = 1
else:
@@ -96,7 +96,7 @@ class UploadedTo(Hoster):
"netpok@gmail.com", "l.stickell@yahoo.it")
FILE_INFO_PATTERN = r'<a href="file/(?P<ID>\w+)" id="filename">(?P<N>[^<]+)</a> &nbsp;\s*<small[^>]*>(?P<S>[^<]+)</small>'
- FILE_OFFLINE_PATTERN = r'<small class="cL">Error: 404</small>'
+ OFFLINE_PATTERN = r'<small class="cL">Error: 404</small>'
DL_LIMIT_PATTERN = "You have reached the max. number of possible free downloads for this hour"
def setup(self):