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:
parent
7bfed1e5da
commit
a90ac7f20e
@ -266,9 +266,9 @@ def remote(args, mirror):
|
|||||||
|
|
||||||
|
|
||||||
def local(db, search):
|
def local(db, search):
|
||||||
xml = open(db).read()
|
xml = open(db).readlines()
|
||||||
parser = BaParser(search)
|
parser = BayParser(' '.join(search))
|
||||||
parser.feed(xml)
|
parser.feed(''.join(xml))
|
||||||
return parser.results
|
return parser.results
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user