AtoraSuunva / booru

Searches boorus for images using some js magic
https://www.npmjs.com/package/booru
MIT License
80 stars 19 forks source link

The searcher doesn't seem to work when providing multiple tags #106

Closed iced-queen closed 3 months ago

iced-queen commented 3 months ago

With the search() function:

const results = await BooruSite.search(tags, {
    limit: 2,
    random: true
});

When tags is an array with only one string, it works, but when I provide more than one string in that array, it always return no results, even when those results actually do exist on the site(s).

iced-queen commented 3 months ago

So, I actually have no idea how I didn't notice this, but this issue was caused by something on my end. I apologise!