summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
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/crypter
parentImprove error method (diff)
downloadpyload-1f48f481740863c7697064bde286a78e977e4a1b.tar.xz
Update other plugins to support self.error
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/DuckCryptInfo.py4
-rw-r--r--module/plugins/crypter/SexuriaCom.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/DuckCryptInfo.py b/module/plugins/crypter/DuckCryptInfo.py
index ff7b0a07a..29eeb4453 100644
--- a/module/plugins/crypter/DuckCryptInfo.py
+++ b/module/plugins/crypter/DuckCryptInfo.py
@@ -42,7 +42,7 @@ class DuckCryptInfo(Crypter):
cryptlinks = soup.findAll("div", attrs={"class": "folderbox"})
self.logDebug("Redirectet to " + str(cryptlinks))
if not cryptlinks:
- self.fail('no links m - (Plugin out of date?)')
+ self.error("no links m")
for clink in cryptlinks:
if clink.find("a"):
self.handleLink(clink.find("a")['href'])
@@ -52,4 +52,4 @@ class DuckCryptInfo(Crypter):
soup = BeautifulSoup(src)
self.urls = [soup.find("iframe")['src']]
if not self.urls:
- self.logDebug("No link found - (Plugin out of date?)")
+ self.logInfo("No link found")
diff --git a/module/plugins/crypter/SexuriaCom.py b/module/plugins/crypter/SexuriaCom.py
index c7939e332..55b6adef4 100644
--- a/module/plugins/crypter/SexuriaCom.py
+++ b/module/plugins/crypter/SexuriaCom.py
@@ -92,7 +92,7 @@ class SexuriaCom(Crypter):
# Inform the user if no link could been extracted
if linklist == []:
- self.fail("Could not extract any links (out of date?)")
+ self.error("Could not extract any links")
# Debug log
self.logDebug("%d supported links" % len(linklist))