diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-27 01:18:45 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-27 01:18:45 +0100 |
commit | 146fe1e309c33ab149bfaf58ad86c0dd4fb9b156 (patch) | |
tree | 22bf2ace19d926392dbe7ba48e44c13c63cd368a /module/plugins/crypter | |
parent | [SimpleHoster] Direct download link support (diff) | |
download | pyload-146fe1e309c33ab149bfaf58ad86c0dd4fb9b156.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/EmbeduploadCom.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/crypter/EmbeduploadCom.py b/module/plugins/crypter/EmbeduploadCom.py index 6af3194df..b968bb86d 100644 --- a/module/plugins/crypter/EmbeduploadCom.py +++ b/module/plugins/crypter/EmbeduploadCom.py @@ -30,14 +30,18 @@ class EmbeduploadCom(Crypter): if m: prefered_set = set(self.getConfig("preferedHoster").split('|')) prefered_set = map(lambda s: s.lower().split('.')[0], prefered_set) - print "PF", prefered_set + + self.logDebug("PF: %s" % prefered_set) + tmp_links.extend([x[1] for x in m if x[0] in prefered_set]) self.urls = self.getLocation(tmp_links) if not self.urls: ignored_set = set(self.getConfig("ignoredHoster").split('|')) ignored_set = map(lambda s: s.lower().split('.')[0], ignored_set) - print "IG", ignored_set + + self.logDebug("IG: %s" % ignored_set) + tmp_links.extend([x[1] for x in m if x[0] not in ignored_set]) self.urls = self.getLocation(tmp_links) |