1.8 KiB
1.8 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
quality = "res:1080" # set the preferred quality
output_path_template = "" # yt-dlp output template
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 = false # control use of cookies file
cookies_file = "./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
[!CRITICAL] Your account MAY be banned when using cookies !
E.g. from Chromium:
yt-dlp --cookies-from-browser chromium --cookies cookies.txt
Container
podman run --rm \
--env='CONFIG=/data/config.toml' \
--volume=path/to/config:/data/config.toml \
--volume=path/to/opml:/data/opml.xml \
--volume=path/to/cookies:/data/cookies.txt
registry.meatbag.se/varl/subsyt
Result
vids
└── 2 Much ColinFurze
├── 2025
│ └── 20250327-Secret_Garage_Update_15_Questions_answered_and_Roofs_Covered-XN4HiUMuQdo.webm
└── archive.txt