summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/HoerbuchIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-16 00:46:26 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-16 00:46:26 +0200
commita1e78f33dc2b0b6777fdcbc415673f3965b25542 (patch)
tree4f2f0c9d7592482409740be8647f8f6849d30681 /module/plugins/crypter/HoerbuchIn.py
parent[StealthTo] Mark dead (diff)
downloadpyload-a1e78f33dc2b0b6777fdcbc415673f3965b25542.tar.xz
Prefer self.urls and self.packages for adding links
Diffstat (limited to 'module/plugins/crypter/HoerbuchIn.py')
-rw-r--r--module/plugins/crypter/HoerbuchIn.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/crypter/HoerbuchIn.py b/module/plugins/crypter/HoerbuchIn.py
index df81cc207..b46293bc7 100644
--- a/module/plugins/crypter/HoerbuchIn.py
+++ b/module/plugins/crypter/HoerbuchIn.py
@@ -33,11 +33,9 @@ class HoerbuchIn(Crypter):
package = "%s (%s)" % (abookname, a.previousSibling.previousSibling.text[:-1])
links = self.decryptFolder(a['href'])
- self.packages.append((package, links, pyfile.package().folder))
+ self.packages.append((package, links, package))
else:
- links = self.decryptFolder(pyfile.url)
-
- self.packages.append((pyfile.package().name, links, pyfile.package().folder))
+ self.urls = self.decryptFolder(pyfile.url)
def decryptFolder(self, url):
m = self.protection.search(url)