summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NowDownloadEu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 15:12:06 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 15:12:06 +0200
commit1f48f481740863c7697064bde286a78e977e4a1b (patch)
tree7a97a3cef902344c5ba4bdd65fe0710d8c857ca6 /module/plugins/hoster/NowDownloadEu.py
parentImprove error method (diff)
downloadpyload-1f48f481740863c7697064bde286a78e977e4a1b.tar.xz
Update other plugins to support self.error
Diffstat (limited to 'module/plugins/hoster/NowDownloadEu.py')
-rw-r--r--module/plugins/hoster/NowDownloadEu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/NowDownloadEu.py b/module/plugins/hoster/NowDownloadEu.py
index dcf13e678..57d31acd5 100644
--- a/module/plugins/hoster/NowDownloadEu.py
+++ b/module/plugins/hoster/NowDownloadEu.py
@@ -38,7 +38,7 @@ class NowDownloadEu(SimpleHoster):
tokenlink = re.search(self.TOKEN_PATTERN, self.html)
continuelink = re.search(self.CONTINUE_PATTERN, self.html)
if tokenlink is None or continuelink is None:
- self.fail('Plugin out of Date')
+ self.error()
m = re.search(self.WAIT_PATTERN, self.html)
if m:
@@ -54,7 +54,7 @@ class NowDownloadEu(SimpleHoster):
url = re.search(self.LINK_PATTERN, self.html)
if url is None:
- self.fail('Download Link not Found (Plugin out of Date?)')
+ self.error("Download link not found")
self.logDebug("Download link", url.group(1))
self.download(str(url.group(1)))