mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(filters): add support for feed description (#922)
* feat(filters): match description * feat(filters): support description * chore: remove match logic for description * fix: update rss tests
This commit is contained in:
parent
058627f4e5
commit
e5b4ded725
9 changed files with 105 additions and 7 deletions
|
@ -83,6 +83,9 @@ CREATE TABLE filter
|
|||
match_release_tags TEXT,
|
||||
except_release_tags TEXT,
|
||||
use_regex_release_tags BOOLEAN DEFAULT FALSE,
|
||||
match_description TEXT,
|
||||
except_description TEXT,
|
||||
use_regex_description BOOLEAN DEFAULT FALSE,
|
||||
scene BOOLEAN,
|
||||
freeleech BOOLEAN,
|
||||
freeleech_percent TEXT,
|
||||
|
@ -680,4 +683,12 @@ ADD COLUMN download_url TEXT;
|
|||
ADD COLUMN priority INTEGER DEFAULT 0;`,
|
||||
`ALTER TABLE notification
|
||||
ADD COLUMN topic text;`,
|
||||
`ALTER TABLE filter
|
||||
ADD COLUMN match_description TEXT;
|
||||
|
||||
ALTER TABLE filter
|
||||
ADD COLUMN except_description TEXT;
|
||||
|
||||
ALTER TABLE filter
|
||||
ADD COLUMN use_regex_description BOOLEAN DEFAULT FALSE;`,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue