In the light of google cracking down on ad block i want to be pro-active and automatically download new videos to my jelly fin server.

I was thinking off using this tool https://youtube-dl.org/ and writing a small script for it (with help of gpt4) but i am missing any general strategy on when i should trigger it and how to make sure it downloads all of the new videos exactly once.

I am hoping that i am not the first to do this and people can give me some good tips before i put to much work into this project.

  • neijzero@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Youtube-dl has the option to download only videos which are uploaded after a specific date. So you could run the script once a day and download the videos from this day.

    Youtube has RSS feeds for channel. You could use that as a trigger to download the video as soon as it gets released. I hope this can be helpful :)