mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): definitions set forcesizeunit (#156)
* feat(indexers): support custom size handling * fix: change case for yaml key
This commit is contained in:
parent
1b0d52da85
commit
e0e4bf6202
5 changed files with 40 additions and 8 deletions
|
@ -91,9 +91,10 @@ func (i IndexerIRC) ValidChannel(channel string) bool {
|
|||
}
|
||||
|
||||
type IndexerParse struct {
|
||||
Type string `json:"type"`
|
||||
Lines []IndexerParseExtract `json:"lines"`
|
||||
Match IndexerParseMatch `json:"match"`
|
||||
Type string `json:"type"`
|
||||
ForceSizeUnit string `json:"forcesizeunit"`
|
||||
Lines []IndexerParseExtract `json:"lines"`
|
||||
Match IndexerParseMatch `json:"match"`
|
||||
}
|
||||
|
||||
type IndexerParseExtract struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue