summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DuckCryptInfo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 02:27:07 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 02:27:07 +0200
commita9117257f71984d553811a605150acb5d1b499ce (patch)
treea0e55a4b9ba57a94f7a4be06f7eecc4dc44acb51 /module/plugins/crypter/DuckCryptInfo.py
parentSpare __pattern__ cosmetics (diff)
downloadpyload-a9117257f71984d553811a605150acb5d1b499ce.tar.xz
Better import lib header
Diffstat (limited to 'module/plugins/crypter/DuckCryptInfo.py')
-rw-r--r--module/plugins/crypter/DuckCryptInfo.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/module/plugins/crypter/DuckCryptInfo.py b/module/plugins/crypter/DuckCryptInfo.py
index 26b06c1c7..b278f2248 100644
--- a/module/plugins/crypter/DuckCryptInfo.py
+++ b/module/plugins/crypter/DuckCryptInfo.py
@@ -2,7 +2,7 @@
import re
-from module.lib.BeautifulSoup import BeautifulSoup
+from BeautifulSoup import BeautifulSoup
from module.plugins.Crypter import Crypter
@@ -23,12 +23,7 @@ class DuckCryptInfo(Crypter):
def decrypt(self, pyfile):
url = pyfile.url
- # seems we don't need to wait
- #src = self.req.load(str(url))
- #m = re.search(self.TIMER_PATTERN, src)
- #if m:
- # self.logDebug("Sleeping for" % m.group(1))
- # self.setWait(int(m.group(1)) ,False)
+
m = re.match(self.__pattern__, url)
if m is None:
self.fail('Weird error in link')