1.3 KiB
1.3 KiB
subsyt
config
config.toml:
dry_run = true # set to `false` for real run
out_dir = "./vids" # path to archive vids
[provider]
[provider.youtube]
cmd = "./yt-dlp" # path to yt-dlp binary
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
opml_file = "./opml.xml" # the opml file to use
subs-opml.xml:
<?xml version="1.0"?>
<opml version="1.1">
<body>
<outline ...>
<outline .../>
<outline .../>
<outline .../>
</outline>
<outline ...>
<outline .../>
<outline .../>
<outline .../>
</outline>
</body>
</opml>
Cookies
E.g. from Chromium:
yt-dlp --cookies-from-browser chromium --cookies cookies.txt
Result
vids
└── 2 Much ColinFurze
├── 2025
│ └── 20250327-Secret_Garage_Update_15_Questions_answered_and_Roofs_Covered-XN4HiUMuQdo.webm
└── archive.txt