summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BitshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r--module/plugins/hoster/BitshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py
index c1a0d50f8..3b0fc5137 100644
--- a/module/plugins/hoster/BitshareCom.py
+++ b/module/plugins/hoster/BitshareCom.py
@@ -18,7 +18,7 @@ class BitshareCom(SimpleHoster):
__author_mail__ = ("", "fragonib[AT]yahoo[DOT]es")
HOSTER_DOMAIN = "bitshare.com"
- FILE_OFFLINE_PATTERN = r'(>We are sorry, but the requested file was not found in our database|>Error - File not available<|The file was deleted either by the uploader, inactivity or due to copyright claim)'
+ OFFLINE_PATTERN = r'(>We are sorry, but the requested file was not found in our database|>Error - File not available<|The file was deleted either by the uploader, inactivity or due to copyright claim)'
FILE_INFO_PATTERN = r'Downloading (?P<N>.+) - (?P<S>[\d.]+) (?P<U>\w+)</h1>'
FILE_AJAXID_PATTERN = r'var ajaxdl = "(.*?)";'
CAPTCHA_KEY_PATTERN = r"http://api\.recaptcha\.net/challenge\?k=(.*?) "
@@ -44,7 +44,7 @@ class BitshareCom(SimpleHoster):
self.html = self.load(pyfile.url, ref=False, decode=True)
# Check offline
- if re.search(self.FILE_OFFLINE_PATTERN, self.html):
+ if re.search(self.OFFLINE_PATTERN, self.html):
self.offline()
# Check Traffic used up