From a90ac7f20e97fa3c3c6d9eaf2d3aebdc2b2c557a Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Sat, 31 Jan 2015 16:21:14 +0100 Subject: [PATCH] Search multiples terms --- pirate-get.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pirate-get.py b/pirate-get.py index 1d8fcd0..9f81509 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -266,9 +266,9 @@ def remote(args, mirror): def local(db, search): - xml = open(db).read() - parser = BaParser(search) - parser.feed(xml) + xml = open(db).readlines() + parser = BayParser(' '.join(search)) + parser.feed(''.join(xml)) return parser.results