summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-05-20 12:35:31 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-05-20 12:35:31 +0200
commit1e4d58837840f4c088900033c070deec1380583b (patch)
tree3516a21df53ff914a65622289a1caa21193a9315 /module
parentMerge branch 'stable' of https://github.com/pyload/pyload into stable (diff)
downloadpyload-1e4d58837840f4c088900033c070deec1380583b.tar.xz
XvidstageCom: bug fix
http://forum.pyload.org/viewtopic.php?f=12&t=2590
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/XvidstageCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XvidstageCom.py b/module/plugins/hoster/XvidstageCom.py
index 14079df43..8accba597 100644
--- a/module/plugins/hoster/XvidstageCom.py
+++ b/module/plugins/hoster/XvidstageCom.py
@@ -52,7 +52,7 @@ def parseFileInfo(url, getInfoMode = False):
class XvidstageCom(Hoster):
__name__ = 'XvidstageCom'
- __version__ = '0.3'
+ __version__ = '0.4'
__pattern__ = r'http://(?:www.)?xvidstage.com/(?P<id>[0-9A-Za-z]+)'
__type__ = 'hoster'
__description__ = """A Plugin that allows you to download files from http://xvidstage.com"""
@@ -64,7 +64,7 @@ class XvidstageCom(Hoster):
pyfile.name, pyfile.size, pyfile.status, self.html = parseFileInfo(pyfile.url)
self.logDebug('Name: %s' % pyfile.name)
if pyfile.status == 1: ## offline
- self.fail()
+ self.offline()
self.id = re.search(self.__pattern__, pyfile.url).group('id')
wait_sec = int(re.search(r'countdown_str">.+?>(\d+?)<', self.html).group(1))