Most active commenters

    ←back to thread

    200 points Larrikin | 12 comments | | HN request time: 0.612s | source | bottom
    1. haunter ◴[] No.43666855[source]
    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.
    replies(3): >>43667091 #>>43670114 #>>43674067 #
    2. VTimofeenko ◴[] No.43667091[source]
    I've been thinking about doing this. What's your setup?
    replies(3): >>43667589 #>>43667635 #>>43667760 #
    3. madphilosopher ◴[] No.43667589[source]
    Not 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
    replies(2): >>43667649 #>>43668365 #
    4. haunter ◴[] No.43667635[source]
    yt-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.

    5. yard2010 ◴[] No.43667649{3}[source]
    You live in the future
    6. add-sub-mul-div ◴[] No.43667760[source]
    I 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.

    7. darkwater ◴[] No.43668365{3}[source]
    Sounds like how RMS browses the web. Nice setup, by the way.
    8. emacsen ◴[] No.43670114[source]
    I'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?

    replies(2): >>43670401 #>>43671870 #
    9. monkeywork ◴[] No.43670401[source]
    Check 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.

    replies(1): >>43674262 #
    10. bazmattaz ◴[] No.43671870[source]
    You can add the content to Plex and browse your YT downloads there
    11. jasonjayr ◴[] No.43674067[source]
    How 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?
    12. emacsen ◴[] No.43674262{3}[source]
    Thank 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.