mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(indexers): update SeedPool IRC announce parsing (#1835)
* feat(indexers): update SeedPool IRC port * feat(indexers): SeedPool add db migration * fix(indexers): adapt regex, tests and vars * fix(indexers): set internal var to origin to fix parsing --------- Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
parent
b0a30dd136
commit
be9a956598
4 changed files with 43 additions and 8 deletions
|
@ -683,7 +683,7 @@ func (r *Release) MapVars(def *IndexerDefinition, varMap map[string]string) erro
|
|||
}
|
||||
|
||||
if freeleech, err := getStringMapValue(varMap, "freeleech"); err == nil {
|
||||
fl := StringEqualFoldMulti(freeleech, "1", "free", "freeleech", "freeleech!", "yes", "VIP")
|
||||
fl := StringEqualFoldMulti(freeleech, "1", "free", "freeleech", "freeleech!", "yes", "VIP", "★")
|
||||
if fl {
|
||||
r.Freeleech = true
|
||||
// default to 100 and override if freeleechPercent is present in next function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue