Added project files
This commit is contained in:
parent
84547f6dcb
commit
94a5aff260
23 changed files with 1042 additions and 1 deletions
19
core/args.go
Normal file
19
core/args.go
Normal 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:"-"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue