summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ExtabitCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 14:52:42 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 14:52:42 +0200
commit2ae91b81a2f12a1c9b1f78524df78a2b3f1ef494 (patch)
treec33c610c953a7833adfe8e357417e73b1d5231d4 /module/plugins/hoster/ExtabitCom.py
parentparseError -> error now calls Fail instead Exception (diff)
downloadpyload-2ae91b81a2f12a1c9b1f78524df78a2b3f1ef494.tar.xz
Update hosters to self.error
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)