There was a little too much exploration of video content in my house, especially during COVID-19 mandated tele-school time, so I fix the problem by:
- Restricted DNS using PiHole so the video site in question is not longer accessible by default.
- Made this very simple web interface where I could submit URLs and have videos downloaded to watch locally.
Think of this as a manual proxy when you want to control the content available in your house. As an unintended benefit, videos can be streamed in the browser from the Raspberry Pi where this runs (the same Pi also runs pi-hole). This means no downloading to space-limited Chromebooks, and a consistent experience across phones, tablets, PCs, and Chromebooks in the house. And since the videos play in Chrome, they are also castable to the Chromecast plugged into the TV.
I have a cronjob run nightly to remove everything in the yt directory. I need to put a checkbox on the page to enable persistent videos. I'll probably do this with a filename prefix or suffix, like MyCoolVid-temp.mp4 for files that will get deleted nighty via 'rm -f *-temp.mp4'
Local Image link to google
Remote image link to google
paragraph here
There is a big
space here.