livestream_saver
livestream_saver copied to clipboard
Function to always download the most recent live from the channel if it is not detected by livestream_saver for some reason
I manage a channel and would like to always archive the most recent video posted in case they are not detected by livestream_saver for some reason, such as an internet connection drop. These videos can be either live type videos or non-upcoming type videos. Does livestreamsaver_saver already have this function implemented? Or would you have a code suggestion on how to do it?
Not sure if I understand what you mean by
in case they are not detected by livestream_saver for some reason, such as an internet connection drop
I assume you mean you want to download the latest VOD displayed on the channel. If that's what you mean, that would be out of scope for this project, and you'd be better off using yt-dlp.
Not sure if I understand what you mean by
in case they are not detected by livestream_saver for some reason, such as an internet connection drop
Maybe some way to keep a state file or a persistent database containing a list of videos from the channels already scanned by "livestream_saver" and another list containing the videos already downloaded, in case it is necessary to restart the livestream_saver process, with the purpose of resume a download, or a youtube channel scan.
It should already resume downloading a live stream. But I agree some lightweight database might be something worth looking into for various reasons.