Skip to content

Feature: A Better Random / Recommend Searching Pattern #188

@MaikoTan

Description

@MaikoTan

Sources

Others

Describe the problem related to the feature request

Currently, many booru sources vary in support of random or recommendations when we use the booru command without keywords.

目前,当我们使用不带关键字的 booru 命令时,许多 booru 源在支持随机或推荐方面有所不同。

Some sources like pixiv or lolicon support recommendations that work well, but some like safebooru do not even support the random search or recommendations.

一些来源(例如 pixivlolicon)支持效果良好的推荐,但有些来源(例如 safebooru)完全不支持随机搜索或推荐。

Since we shuffle the sources before we fetch images, as the chosen sources affect the result in recommendations, we want a better pattern for choosing the source we would use for recommendations.

由于我们在获取图像之前对源进行打乱,且所选的源会影响推荐的结果,因此我们需要一个更好的模式来选择用于推荐的源。

Describe the solution you'd like

  • Add a new static property like random: boolean to represent whether the source supports a random pattern.
  • Add a new static property like recommend: boolean to represent whether the source supports a random recommendation pattern.
    • For most booru-sites, this can be a * sort:random tag pattern.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions