Added project files

This commit is contained in:
ChaoticByte 2025-03-08 21:09:32 +01:00
parent 84547f6dcb
commit 94a5aff260
No known key found for this signature in database
23 changed files with 1042 additions and 1 deletions

19
core/args.go Normal file
View file

@ -0,0 +1,19 @@
package core
import "time"
type Arguments struct {
Url string `json:"url"`
FormatName string `json:"format_name"`
OutputFile string `json:"output_file"`
TimestampStart string `json:"timestamp_start"`
TimestampStop string `json:"timestamp_stop"`
Overwrite bool `json:"overwrite"`
ContinueDl bool `json:"continue"`
// Parsed
Video GtvVideo `json:"-"`
StartDuration time.Duration `json:"-"`
StopDuration time.Duration `json:"-"`
ChapterIdx int `json:"-"`
Ratelimit float64 `json:"-"`
}