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:
ze0s 2024-11-24 18:34:40 +01:00 committed by GitHub
parent b0a30dd136
commit be9a956598
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 43 additions and 8 deletions

View file

@ -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