Youtube video source

Apparently im too stupid to get the source URLs of youtube videos. All i can find on this, are either shit or just websites that convert a youtube-link to the source URL.

How the fuck do i get the video source URL?

Attached: brainlet.jpg (645x729, 44K)

Other urls found in this thread:

rg3.github.io/youtube-dl/
twitter.com/SFWRedditVideos

youtube-dl -g [-f format-code]

>>>/sqt/

Actual code, not just some library/service

How so?

>Actual code, not just some library/service
wat

are you from askubuntu? i feel im not dumb enough to answer your question

>rg3.github.io/youtube-dl/
this is what you think about?

What i think about is what server you need to send a request to, and what the server demands. Cant find any detail on that though

>what server
one of googles data centers obviously
>which one
use wireshark

>what server
>r2---sn-8xgn5uxa-i5he.googlevideo.com
>r2---sn-4g5e6nze.googlevideo.com

The prefix seems pretty random, there must be a more convenient server.

Also, it seems to pull from 2 servers

ask google