summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ExtabitCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/ExtabitCom.py')
-rw-r--r--module/plugins/hoster/ExtabitCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/ExtabitCom.py b/module/plugins/hoster/ExtabitCom.py
index 4b0d3d95b..489b2453e 100644
--- a/module/plugins/hoster/ExtabitCom.py
+++ b/module/plugins/hoster/ExtabitCom.py
@@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class ExtabitCom(SimpleHoster):
__name__ = "ExtabitCom"
__type__ = "hoster"
- __version__ = "0.6"
+ __version__ = "0.61"
__pattern__ = r'http://(?:www\.)?extabit\.com/(file|go|fid)/(?P<ID>\w+)'
@@ -61,15 +61,15 @@ class ExtabitCom(SimpleHoster):
else:
self.fail("Invalid captcha")
else:
- self.parseError('Captcha')
+ self.error('Captcha')
if not "href" in response:
- self.parseError('JSON')
+ self.error('JSON')
self.html = self.load("http://extabit.com/file/%s%s" % (fileID, response['href']))
m = re.search(self.LINK_PATTERN, self.html)
if m is None:
- self.parseError('Download URL')
+ self.error('Download URL')
url = m.group(1)
self.logDebug("Download URL: " + url)
self.download(url)