diff options
author | 2014-07-16 00:46:26 +0200 | |
---|---|---|
committer | 2014-07-16 00:46:26 +0200 | |
commit | a1e78f33dc2b0b6777fdcbc415673f3965b25542 (patch) | |
tree | 4f2f0c9d7592482409740be8647f8f6849d30681 /module/plugins/crypter/LinkdecrypterCom.py | |
parent | [StealthTo] Mark dead (diff) | |
download | pyload-a1e78f33dc2b0b6777fdcbc415673f3965b25542.tar.xz |
Prefer self.urls and self.packages for adding links
Diffstat (limited to 'module/plugins/crypter/LinkdecrypterCom.py')
-rw-r--r-- | module/plugins/crypter/LinkdecrypterCom.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/crypter/LinkdecrypterCom.py b/module/plugins/crypter/LinkdecrypterCom.py index 96fe11951..31c4d36b7 100644 --- a/module/plugins/crypter/LinkdecrypterCom.py +++ b/module/plugins/crypter/LinkdecrypterCom.py @@ -41,10 +41,8 @@ class LinkdecrypterCom(Crypter): self.passwords = self.getPassword().splitlines() # API not working anymore - new_links = self.decryptHTML() - if new_links: - self.core.files.addLinks(new_links, pyfile.package().id) - else: + self.urls = self.decryptHTML() + if not self.urls: self.fail('Could not extract any links') def decryptAPI(self): |