• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle

  • So there’s 2 files that go along with the main script: a config file and a download list.

    The download list file is literally a list of YT channel URLs and any time I want it to get new channels, I add to the list. Conversely if I get tired of watching a channel, I comment it out or just delete it. YT-DLP just traverses the list.

    The config is where the magic happens. That dictates how the file is named, quality you download at, location it’s saved to, format, etc. You can incorporate SponsorBlock which is awesome and even DeArrow has an integration. I enjoy the logging feature so it doesn’t re-download vids it’s already snagged. Generally I’ll tell it to get every video from a channel that’s been posted in the last 15 days.

    My destination for the files is a YouTube library folder I set up in Plex. Plex sees it just as another TV-like library and it pulls the metadata from the files, which are embedded by YT-DLP.

    Hope this helps!




  • Yes this is possible. I have a few hosted items with subdomains and I have it set up as follows:

    All subdomains point to the same IP. Router port forwards all 80/8080 traffic to server. I use Caddy in Docker to forward the requests based on the subdomain to the appropriate docker container hosting the actual service.

    This makes spinning up something new simple. You get a docker container of New Thing going, edit the CaddyFile to point to it too, set up new subdomain in cloudflare. No new open ports needed.

    Hope this helps!