4 ms·
I'm backing up my Youtube favorites locally since 2018, so far 10k videos. I might try to use this because seems like would be a fun way to play them in the bac
by haunter 2y ago
I'm backing up my Youtube favorites locally since 2018, so far 10k videos. I might try to use this because seems like would be a fun way to play them in the background on a second monitor.
- VTimofeenko 2y agoI've been thinking about doing this. What's your setup?
- madphilosopher 2y agoNot the OP, but I have a Postfix mail server running on my home media box that receives YouTube URLs sent to its special email address. Postfix passes the message to a Python script that parses out the URL and places it into a Redis queue. A second Python program, running as a daemon, watches the queue and then downloads the video using yt-dlp. I can also enqueue video URLs from the command line. This is the command that the daemon runs to request 720p, for example: command = 'yt-dlp --write-info-json -f "bv*[height<=720]+ba" --output "out.%%(ext)s" --merge-output-format mp4 "%s"' % url
- haunter 2y agoyt-dlp I just parse the URLs from the liked playlist every couple of days with a Chrome extension then simply run the app. yt-dlp would work automatically too with logins but I'm always too nervous that Google would just straight up ban my account for whatever reasons. So I rather do it in a more manual way.
- add-sub-mul-div 2y agoI run a flask app with an endpoint that takes a video URL and runs yt-dlp. I have a bookmarklet that submits the URL of the current video page I'm on to the web service. Also when I'm in NewPipe on the phone I can go to a video and share the URL to an app that forwards it to the web service.
- emacsen 2y agoI've been thinking about this myself. I have a few questions for you. The first is how you organize them. With 10k videos, do you organize the files in some way? Secondly, aside from this project, have you found a nice way to browse/watch these videos? Thirdly, any chance you could throw your scripts up somewhere?
- monkeywork 2y agoCheck out pinchflat. Think of it like sonarr for yt channels. I use it to grab content for my kid that he consumers via Plex so I can limit what he sees and remove the algo. Pinchflat does all the renaming, metadata, and file structure as I configure.
- emacsen 2y agoThank you so much!!! I wish it supported other sites that yt-dlp supports, particularly Nebula but this is already a great start, and hopefully they'll add other sites eventually. It seems this has been discussed before.
- bazmattaz 2y agoYou can add the content to Plex and browse your YT downloads there
- jasonjayr 2y agoHow do you guard against getting your downloader connected to your google account (by IP address or some other association), and getting your google account perm-banned?