summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/SafelinkingNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/SafelinkingNet.py')
-rw-r--r--module/plugins/crypter/SafelinkingNet.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/module/plugins/crypter/SafelinkingNet.py b/module/plugins/crypter/SafelinkingNet.py
index 5d822af11..e2b8471ab 100644
--- a/module/plugins/crypter/SafelinkingNet.py
+++ b/module/plugins/crypter/SafelinkingNet.py
@@ -2,17 +2,18 @@
import re
-from BeautifulSoup import BeautifulSoup
+import BeautifulSoup
from module.common.json_layer import json_loads
-from module.plugins.Crypter import Crypter
-from module.plugins.internal.SolveMedia import SolveMedia
+from module.plugins.internal.Crypter import Crypter
+from module.plugins.captcha.SolveMedia import SolveMedia
class SafelinkingNet(Crypter):
__name__ = "SafelinkingNet"
__type__ = "crypter"
- __version__ = "0.15"
+ __version__ = "0.17"
+ __status__ = "testing"
__pattern__ = r'https?://(?:www\.)?safelinking\.net/([pd])/\w+'
__config__ = [("use_subfolder" , "bool", "Save package to subfolder" , True),
@@ -43,7 +44,7 @@ class SafelinkingNet(Crypter):
self.html = self.load(url)
if "link-password" in self.html:
- postData['link-password'] = self.getPassword()
+ postData['link-password'] = self.get_password()
if "altcaptcha" in self.html:
for _i in xrange(5):
@@ -66,7 +67,7 @@ class SafelinkingNet(Crypter):
break
pyfile.package().password = ""
- soup = BeautifulSoup(self.html)
+ soup = BeautifulSoup.BeautifulSoup(self.html)
scripts = soup.findAll("script")
for s in scripts:
if "d_links" in s.text: