Compare commits
2 commits
9d70d08dc4
...
f18a58a3b8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f18a58a3b8 | ||
|
|
62d9835302 |
|
|
@ -15,6 +15,7 @@ url = "https://www.youtube.com" # full yt url
|
|||
throttle = 1 # throttle yt request
|
||||
range = "1:5:1" # [START][:STOP][:STEP]
|
||||
after_date = "20250326" # not in use
|
||||
cookies = "./cookies.txt" # pass user cookies to yt
|
||||
```
|
||||
|
||||
`subs-opml.xml`:
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ type Provider struct {
|
|||
Range string
|
||||
After_date string
|
||||
Cmd string
|
||||
Cookies string
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ func Get(d Download, p config.Provider) {
|
|||
"--playlist-items", p.Range,
|
||||
"--restrict-filenames",
|
||||
"--embed-metadata",
|
||||
"--cookies", p.Cookies,
|
||||
)
|
||||
|
||||
stdout, err := cmd.StdoutPipe()
|
||||
|
|
|
|||
Loading…
Reference in a new issue