diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 16:54:20 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 16:54:20 +0200 |
commit | 93592862b520a862c01f80c019e5c4bc43746c19 (patch) | |
tree | 1cb7f4d13308fbdac0d8bb725c0383a6ef3ebe58 /module/plugins/hoster/BayfilesCom.py | |
parent | [SimpleCrypter] Better inline docs + support for offline & temp.offline check (diff) | |
download | pyload-93592862b520a862c01f80c019e5c4bc43746c19.tar.xz |
[SimpleHoster] Better inline docs + changed "FILE_OFFLINE_PATTERN" to "OFFLINE_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 b080eb386..720603c4d 100644 --- a/module/plugins/hoster/BayfilesCom.py +++ b/module/plugins/hoster/BayfilesCom.py @@ -34,7 +34,7 @@ class BayfilesCom(SimpleHoster): __author_mail__ = ("zoidberg@mujmail.cz", "vuolter@gmail.com") FILE_INFO_PATTERN = r'<p title="(?P<N>[^"]+)">[^<]*<strong>(?P<S>[0-9., ]+)(?P<U>[kKMG])i?B</strong></p>' - FILE_OFFLINE_PATTERN = r'(<p>The requested file could not be found.</p>|<title>404 Not Found</title>)' + OFFLINE_PATTERN = r'(<p>The requested file could not be found.</p>|<title>404 Not Found</title>)' WAIT_PATTERN = r'>Your IP [0-9.]* has recently downloaded a file\. Upgrade to premium or wait (\d+) minutes\.<' VARS_PATTERN = r'var vfid = (\d+);\s*var delay = (\d+);' |