AntiCope / meteor-e621-integration

Admire great artworks from the comfort of Meteor Client
36 stars 6 forks source link

Make more specific filters much more reliable. #10

Closed furry-stuff closed 2 years ago

furry-stuff commented 2 years ago

Modified the e621 random image function to fetch more possible images at once, and reduce max page if there's no results for that page (this allows up to 9600 unique images for filters that have that many results). The main purpose of this is to make it find images more reliable for tag combinations with relatively few results. Previously it would only find an image 50% of the time with a filter that only has 3500 images, now it may take a second or two to find the first image, but then would guarantee a result every time it tries after.

furry-stuff commented 2 years ago

May also fix issue #7 as the tags they are using may just be fairly specific and as such failing to find any images due to the large range of pages that may not have results