feat(macros): add Cookie (#2107)

This commit is contained in:
ze0s 2025-06-22 13:08:38 +02:00 committed by GitHub
parent 82331c3d34
commit bc1ec844ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(),