Live data from Hacker News

Youtube-dl: Command-line program to download videos

github.com

31–40 of 253 posts

Re: Youtube-dl: Command-line program to download videos

#31
post #18

Since letting kids alone on youtube, is clusterf* of a nightmare, this is a godsend tool to archive approved channels to a local media server. This config file (with separate channel-list- and archive-files) template found here, has proven quite useful to me combined with some minimal batch job: https://www.reddit.com/r/DataHoarder/comments/858ny5/my_yout...

Another option is to embed youtube videos on your own web page (hosted locally or whatever). You don't need to download the actual videos, the ads tend to be banners (not ones that make you wait to view it). Works great for my 4 year old.

Re: Youtube-dl: Command-line program to download videos

#32

The elephant in the room is obviously that this is probably illegal under DMCA.

Hrmm... I'm not sure. At any point in the protocol is there a "copyright bit"? It only takes one bit, and it doesn't even have to be documented as serving that purpose. The StreamboxVCR case ended up cementing into law (because the Streambox people ran out of money and couldn't appear to answer the last appeal by RealNetworks) that disobeying one undocumented bit is all it takes to run afoul of section 1201 of the DMCA. I imagine there might be such a bit in the YouTube stream but I don't know. I'm also not sure how you could defend in court that creating the temporary copy in memory for purposes of playing a stream is given permission, but creating a more permanent one is not. Courts have held that transitory copies in memory are actual copies, and can constitute real infringement, but obviously YouTube gives implicit permission to users to the creation of that copy, and youtube-dl doesn't actually create any additional copies beside that, it just keeps it.

Re: Youtube-dl: Command-line program to download videos

#33

Gotta be careful sometimes. At least one tutorial video site I used it on (where an account was needed) I was blocked and had to open a ticket to re-enable my account by promising not to break their ToS which said something explicit about not downloading a bunch of their videos. (I was using it on whole courses and got flagged)

Yeah, gotta add && sleep 3600 and go to bed.

Re: Youtube-dl: Command-line program to download videos

#34
post #7

When I want to download a video from a site I always think “it would be great if youtube-dl worked with this niche website, but I think it’s too specific”, then I try and it works, I’m always surprised.

I had this moment when I decided to throw a crunchyroll url at it on a whim and it worked flawlessly.

Re: Youtube-dl: Command-line program to download videos

#35

The elephant in the room is obviously that this is probably illegal under DMCA.

Which is one of the aspects of why the DMCA is such bad law and DRM in general is a complete waste of time.

If you hand someone a stream of bits and a decryption key that turns it into a movie. They will figure out how to keep the decrypted movie around if they want or need to do that.

So then you get into a coevolutionary arms race where content licensing organizations feel they have the right to imposes draconian restrictions on peoples personal electronics. And mandated spyware is not really ethical either.

Re: Youtube-dl: Command-line program to download videos

#36
post #6

Earlier quoted context omitted.

All those NSFW labels. Maybe after all internet is made for pom.

Correct me if I'm wrong but I think advances in video streaming tech were pioneered by "cam girls" (porn).

Some even argue that HTTP won over Gopher because of Multimedia, more exactly image, support.

Re: Youtube-dl: Command-line program to download videos

#38
I feel like the first rule of youtube-dl is not to talk about youtube-dl. I keep expecting Google (and all the other sites it works on) to start taking active measures to disable it. At some point YouTube is going to require an EME module to play even "free" videos.

Re: Youtube-dl: Command-line program to download videos

#39
I’ve actually used this one for quite a nifty Python script:

Invoke a Workflow from a YouTube video on my iPhone -> Dropbox file gets appended with all the details of video -> Hazel is watching this file and triggers the Python script -> which converts the video to MP3, slaps on relevant tags and cover-art and uploads it to my iCloud Music Library [1].

So I can have an MP3 song on my iPhone minutes after I’ve watched the video on YouTube.

[1] I do have Apple Music & Spotify [2], this is primarily for live/rare versions, and piano covers that I like.

[2] need both for testing, “officialy” launching https://www.musicbutler.io soon. /shamelessplug

Post reply on HN