Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: A Better Random / Recommend Searching Pattern #188

Open
Tracked by #246
MaikoTan opened this issue Mar 22, 2024 · 1 comment
Open
Tracked by #246

Feature: A Better Random / Recommend Searching Pattern #188

MaikoTan opened this issue Mar 22, 2024 · 1 comment
Labels
🍰 feature 🆘 help wanted Extra attention is needed
Milestone

Comments

@MaikoTan
Copy link
Member

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

@MaikoTan
Copy link
Member Author

MaikoTan commented Mar 22, 2024

ping @Lipraty @SaarChaffee @Kabuda-czh

@MaikoTan MaikoTan added this to the v1.3.0 milestone Mar 22, 2024
@MaikoTan MaikoTan added the 🆘 help wanted Extra attention is needed label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 feature 🆘 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant