1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-10 10:04:21 +01:00

Search multiples terms

This commit is contained in:
Rnhmjoj 2015-01-31 16:21:14 +01:00
parent 7bfed1e5da
commit a90ac7f20e

View File

@ -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