Search code examples
videodownloadyoutube-dl

How to extract direct link to Youtube video?


I'm currently downloading videos using Youtube-dl, but I don't want to download videos on server, but only extract direct link to video file and arrange browser to start download. Can anybody show me direction to extracting link to Youtube files.


Solution

  • Use the --get-url or -g:

    youtube-dl --get-url 2eBZqmL8ehg