How does youtube-dl work?

5 respostas [Última entrada]
catfishes

I am a member!

Desconectado
Joined: 07/24/2013

Does it run javascript? If so is it as bad as running it in my browser?

If this is a daft question maybe you could tell me why ;)

danieru
Desconectado
Joined: 01/06/2013

That's an interesting question. But I think you have better luck asking in their IRC channel: #youtube-dl on freenode.
If you don't know how to use an IRC client you can try the webchat: http://webchat.freenode.net/?randomnick=1&channels=youtube-dl

Please post here what you find, I'm interested in the answer too.

danieru
Desconectado
Joined: 01/06/2013

My bet would be that youtube-dl doesn't download any extra JS. But the only way to know that for sure is reading the source code. And if you don't want to do that then asking the developers is the only option left.

catfishes

I am a member!

Desconectado
Joined: 07/24/2013
stallman_was_right
Desconectado
Joined: 12/06/2016

Does youtube-dl give your IP Address to YouTube when you download videos from there? Or is it something like this:

- your request for the video is sent to youtube-dl servers (if there's such a thing)
- the youtube-dl servers download the webpage from YouTube
- the youtube-dl servers send the webpage to your machine
- your machine extracts the video

This would mean that YouTube doesn't know my IP Address. However, I don't know if this is how it works. Therefore, I use torify to send my youtube-dl request through the Tor network for anonymity purposes.

onpon4
Desconectado
Joined: 05/30/2012

Maintaining a proxy like that would be expensive; I doubt youtube-dl's developers could afford that.

If you want your request to go through a proxy, you should get a VPN. (Downloading big files like videos is not very nice for the Tor network, so I wouldn't do it unless it's truly necessary.)