mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-09 09:59:51 +01:00
Search multiples terms
This commit is contained in:
parent
7bfed1e5da
commit
a90ac7f20e
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user