Live data from Hacker News

Ytdl-webserver: Webserver for downloading YouTube videos

github.com

41–50 of 71 posts

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#41

Is there a way to download Netflix videos too? My reason is I just can't watch anything at less than 1.5X speed nowadays and Netflix has no such option on mobile (there is a chrome extension though). Any ideas how to do either (dl or increase playback speed on mobile)

...you can't watch anything at less than 1.5x?

Is this something you've trained yourself to do...? Like deliberately?

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#42

Is there a way to download Netflix videos too? My reason is I just can't watch anything at less than 1.5X speed nowadays and Netflix has no such option on mobile (there is a chrome extension though). Any ideas how to do either (dl or increase playback speed on mobile)

...you can't watch anything at less than 1.5x? Is this something you've trained yourself to do...? Like deliberately?

The downside of nootropics?

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#43

In my experience, YouTube-dl needs to be updated quite frequently, as YouTube changes their design. How is this handled here? Is periodically kill / restart the container enough?

I don't know if it applies to the web server, but for the command-line version of youtube-dl, it has a -U option that updates itself. One could create a batch file or shell script that runs that each time, before downloading a video, or do it manually once in a while. Like someone else said, I think the creator updates the app fairly often.

Edit: I had written a post about youtube-dl describing its use a bit, and also a quick look at its code:

youtube-dl, a YouTube downloader in Python:

https://jugad2.blogspot.com/2013/03/youtube-dl-yourube-downl...

Also check out: pafy - Python API for YouTube:

https://jugad2.blogspot.com/2014/06/pafy-python-api-for-yout...

Edit 2: And this might be of use:

How to download PyCon US 2013 videos for offline viewing using youtube-dl:

https://jugad2.blogspot.com/2013/04/how-to-download-pycon-us...

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#44
post #15

Earlier quoted context omitted.

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...

Thank you for sharing. I knew the UK was a bit backward, but not to that extent.

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#46
post #40

Meh; nodejs that uses youtube-dl frontend? why can't I just use youtube-dl?

For instance if you run this on your desktop you could bookmark "http://local-desktop-ip:3000" on your mobile device and be able to download videos while on mobile.

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#47

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=…

HN doesn't support fenced code blocks. You should indent code with 2 (or more) spaces to make it shown verbatim.

https://news.ycombinator.com/formatdoc

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#48

Is there a way to download Netflix videos too? My reason is I just can't watch anything at less than 1.5X speed nowadays and Netflix has no such option on mobile (there is a chrome extension though). Any ideas how to do either (dl or increase playback speed on mobile)

To my knowledge there isn't a way to bypass its DRM atm (to directly download a file).

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#49
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...

Well. That's a mess, I should have read more.

Re: Ytdl-webserver: Webserver for downloading YouTube videos

#50

Is there a way to download Netflix videos too? My reason is I just can't watch anything at less than 1.5X speed nowadays and Netflix has no such option on mobile (there is a chrome extension though). Any ideas how to do either (dl or increase playback speed on mobile)

To my knowledge there isn't a way to bypass its DRM atm (to directly download a file).

It's certainly possible, look for the various groups releasing untouched Netflix video on your favourite filesharing platform.

They're not about to make their method public though, and last I read up on it I don't think they can do 4k? But SD/720p/1080p is all there.

Post reply on HN