Skip to content

aaronpalermo/misc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All my misc tools, scripts, etc.

VideoDownloader.py

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:

  1. Restricted DNS using PiHole so the video site in question is not longer accessible by default.
  2. 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.

TODO

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'

text link to google


Local Image link to google

Remote image link to google

BIg text

paragraph here

This is an H1

This is an H1

This is an H2

This is an H2

This is an H3

This is an H3

This is an H4

This is an H4

This is an H5
This is an H5
This is an H6
This is an H6

There is a big
space                   here.

About

All my misc tools, scripts, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published