diff options
author | 2014-10-14 13:38:49 +0200 | |
---|---|---|
committer | 2014-10-14 13:38:49 +0200 | |
commit | 388a2f6478d42e423f1f8442d8539983f3762f22 (patch) | |
tree | 2ab7720d32a37b7f9b467865565dbb8ddc7b71b1 /module/plugins/hoster/BayfilesCom.py | |
parent | [ClickAndLoad] Code cosmetics (diff) | |
download | pyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz |
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/BayfilesCom.py')
-rw-r--r-- | module/plugins/hoster/BayfilesCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/BayfilesCom.py b/module/plugins/hoster/BayfilesCom.py index 5f097ee2f..d38987227 100644 --- a/module/plugins/hoster/BayfilesCom.py +++ b/module/plugins/hoster/BayfilesCom.py @@ -21,7 +21,7 @@ class BayfilesCom(SimpleHoster): ("Walter Purcaro", "vuolter@gmail.com")] - FILE_INFO_PATTERN = r'<p title="(?P<N>[^"]+)">[^<]*<strong>(?P<S>[\d .,]+)(?P<U>\w+)</strong></p>' + FILE_INFO_PATTERN = r'<p title="(?P<N>[^"]+)">[^<]*<strong>(?P<S>[\d .,]+)(?P<U>[\w^_]+)</strong></p>' OFFLINE_PATTERN = r'(<p>The requested file could not be found.</p>|<title>404 Not Found</title>)' WAIT_PATTERN = r'>Your IP [\d.]* has recently downloaded a file\. Upgrade to premium or wait (\d+) minutes\.<' |