(Alerts) Blacklist regex patterns #46

Open
opened 2022-03-22 19:29:41 +00:00 by boiii · 0 comments
Collaborator

There may or may not be a studio called Legalporno Analvids that absolutely spams scenes everyday, so having a list of regex patterns per alert would help to filter out scenes from studios that release more niches than you would like.

Example

Create new alert, setting studios and whatever

Add patterns

Behind the scenes
Prolapse

Would end up being (roughly)

patterns = [/Behind the scenes/, /Prolapse/]
scenes.filter(scene => !patterns.some(x => x.test(scene.title)))

You get the idea

Issues

  • Maybe limit max patterns per alert? 100?
  • Do case insensitive regex by default? Downsides?
There may or may not be a studio called ~~Legalporno~~ Analvids that absolutely spams scenes everyday, so having a list of regex patterns per alert would help to filter out scenes from studios that release more niches than you would like. #### Example Create new alert, setting studios and whatever Add patterns ``` Behind the scenes Prolapse ``` Would end up being (roughly) ```javascript patterns = [/Behind the scenes/, /Prolapse/] scenes.filter(scene => !patterns.some(x => x.test(scene.title))) ``` You get the idea #### Issues - Maybe limit max patterns per alert? 100? - Do case insensitive regex by default? Downsides?
boiii closed this issue 2024-01-11 14:37:25 +00:00
boiii reopened this issue 2024-02-05 21:55:33 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DebaucheryLibrarian/traxxx#46
No description provided.