+ 1

How does youtube downloaders works ?

i want to create my own youtube downloader in c++ ( similar to youtube-dl ).. how does sites / softwares getting the location of file.avi from youtube ? does anybody know ? i checked at the net but nobody explaining how does it work ...

10th Sep 2017, 2:19 PM
Cain Eviatar
Cain Eviatar - avatar
2 odpowiedzi
+ 7
Basically they are connecting to the Youtube API and get a short-lived token to obtain the direct link for download.
10th Sep 2017, 3:12 PM
Zephyr Koo
Zephyr Koo - avatar
+ 1
then how would you download from youtube manually ?
10th Sep 2017, 3:59 PM
Cain Eviatar
Cain Eviatar - avatar