mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 08:19:12 +00:00
feat(macros): add Cookie (#2107)
This commit is contained in:
parent
82331c3d34
commit
bc1ec844ff
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ type Macro struct {
|
|||
Category string
|
||||
Codec []string
|
||||
Container string
|
||||
Cookie string
|
||||
CurrentDay int
|
||||
CurrentHour int
|
||||
CurrentMinute int
|
||||
|
@ -110,6 +111,7 @@ func NewMacro(release Release) Macro {
|
|||
Category: release.Category,
|
||||
Codec: release.Codec,
|
||||
Container: release.Container,
|
||||
Cookie: release.RawCookie,
|
||||
CurrentDay: currentTime.Day(),
|
||||
CurrentHour: currentTime.Hour(),
|
||||
CurrentMinute: currentTime.Minute(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue