Live data from Hacker News

Ytdl-webserver: Webserver for downloading YouTube videos

github.com

11–20 of 71 posts

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#11
post #8

Earlier quoted context omitted.

It looks like they're installing youtube-dl via apt, from the Ubuntu 16.04 repos (which is what the docker image uses as a base), do even rebuilding wouldn't cut it. I wonder if this will even work out of the box, because YouTube changed something that required youtube-dl to fix a month or two ago.

But it isn't actually using that in the app, it's using the https://github.com/przemyslawpluta/node-youtube-dl npm package.

That's just a wrapper calling the youtube-dl binary indirectly: https://github.com/przemyslawpluta/node-youtube-dl/blob/mast...

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#12
post #11
post #8

Earlier quoted context omitted.

But it isn't actually using that in the app, it's using the https://github.com/przemyslawpluta/node-youtube-dl npm package.

That's just a wrapper calling the youtube-dl binary indirectly: https://github.com/przemyslawpluta/node-youtube-dl/blob/mast...

https://github.com/przemyslawpluta/node-youtube-dl/blob/mast...

except for those times it downloads a youtube-dl binary.

https://github.com/przemyslawpluta/node-youtube-dl/blob/mast...

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#15

Is downloading youtube videos legal?

Come again? Are you implying that we do not have a Fair Use in storing a local recording of a video broadcast for personal use? https://en.wikipedia.org/wiki/Sony_Corp._of_America_v._Unive... .

It's not that clear-cut outside of the US.

In the UK, it's only legal if it's for 'time-shifting' with the expectation the recording is only watched once and then deleted:

https://www.gov.uk/guidance/exceptions-to-copyright#time-shi...

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#16
I was just thinking the other day of writing a small utility to download a YouTube video and metadata, stuff the metadata in a database, and be able to have a local, searchable copy of videos and channels I'd like to have for a while -- I don't trust they'll be around forever.

I was thinking it could be better if the utility would be more useful if it integrated with mythtv, but I might start as a standalone.

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#17

I was just thinking the other day of writing a small utility to download a YouTube video and metadata, stuff the metadata in a database, and be able to have a local, searchable copy of videos and channels I'd like to have for a while -- I don't trust they'll be around forever. I was thinking it could be better if the utility would be more useful if it integrated with mythtv, but I might start as a standalone.

[deleted]

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#18

Is downloading youtube videos legal?

How could it not be? You "download" the stream every time you watch it. It's to everyone's benefit to cache it if you want to watch it more than once. That way you don't use that much bandwidth. You might be served less ads, but you shouldn't be watching them anyway.

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#19
It's not as slickly packaged, but I made a webserver that turns YouTube channels into proper RSS subscribe-able audio podcasts:

https://github.com/frou/yt2pod

If you find yourself often having your phone in your pocket with the screen blazing, just to be able to listen to YT content, you might like it.

(it's on the todo list to Dockerize it)

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#20
I use Android and have Termux[1] installed. If you create a shell script named '~/bin/termux-url-opener' and share URLs to Termux, it'll invoke that script. Here's the contents of mine:

``` #!/bin/bash

pip install --upgrade youtube-dl cd storage/movies youtube-dl "${1}" ```

Works a treat!

[1] Termux (Terminal emulator with packages) - https://f-droid.org/app/com.termux, https://play.google.com/store/apps/details?id=com.termux

Post reply on HN