diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-02 22:47:07 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-02 22:47:07 +0100 |
commit | 772e47ef806d18fd209e910be0535bce7c07dc7b (patch) | |
tree | dc6c2027e6e306da70817be917a7c426dc8fd044 /module/plugins/hoster/UploadedTo.py | |
parent | [LetitbitNet][Share4webCom][UnibytesCom] https support + use urljoin + update... (diff) | |
download | pyload-772e47ef806d18fd209e910be0535bce7c07dc7b.tar.xz |
Update all other plugins
Diffstat (limited to 'module/plugins/hoster/UploadedTo.py')
-rw-r--r-- | module/plugins/hoster/UploadedTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index 5f324c31d..40fe768e9 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -64,7 +64,7 @@ def parseFileInfo(self, url='', html=''): # File offline status = 1 else: - m = re.search(self.FILE_INFO_PATTERN, html) + m = re.search(self.INFO_PATTERN, html) if m: name, fileid = html_unescape(m.group('N')), m.group('ID') size = parseFileSize(m.group('S')) @@ -107,7 +107,7 @@ class UploadedTo(Hoster): ("stickell", "l.stickell@yahoo.it")] - FILE_INFO_PATTERN = r'<a href="file/(?P<ID>\w+)" id="filename">(?P<N>[^<]+)</a> \s*<small[^>]*>(?P<S>[^<]+)</small>' + INFO_PATTERN = r'<a href="file/(?P<ID>\w+)" id="filename">(?P<N>[^<]+)</a> \s*<small[^>]*>(?P<S>[^<]+)</small>' OFFLINE_PATTERN = r'<small class="cL">Error: 404</small>' DL_LIMIT_PATTERN = r'You have reached the max. number of possible free downloads for this hour' |