mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(macros): add IndexerName
(#1511)
* feat(macros): add IndexerName * fix: tests * fix: tests
This commit is contained in:
parent
c43e2c76d6
commit
3c3b47fa10
37 changed files with 310 additions and 235 deletions
|
@ -28,6 +28,8 @@ type Macro struct {
|
|||
DownloadUrl string
|
||||
InfoUrl string
|
||||
Indexer string
|
||||
IndexerName string
|
||||
IndexerIdentifier string
|
||||
Title string
|
||||
Type string
|
||||
Category string
|
||||
|
@ -67,7 +69,9 @@ func NewMacro(release Release) Macro {
|
|||
GroupID: release.GroupID,
|
||||
InfoUrl: release.InfoURL,
|
||||
DownloadUrl: release.DownloadURL,
|
||||
Indexer: release.Indexer,
|
||||
Indexer: release.Indexer.Identifier,
|
||||
IndexerName: release.Indexer.Name,
|
||||
IndexerIdentifier: release.Indexer.Identifier,
|
||||
Title: release.Title,
|
||||
Type: release.Type,
|
||||
Category: release.Category,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue