How can I extract only the audio from the YouTube video in my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
2nd Sep 2023, 4:29 AM
P A Arrchith Iyer
P A Arrchith Iyer - avatar
2 Answers
+ 4
First you should really research the current terms and conditions of the Youtube service, and make sure you do not do anything illegal. For example, separating the video and audio content is against YT TOS. It is actually in Youtube's own commercialization strategy that they offer you to play audio only, if you pay for their Youtube Music premium service. And I suggest to check this thread to see how others are trying to tackle this problem. Be aware that it is an old topic and many of the tools and methods mentioned, may not be available any more.
2nd Sep 2023, 5:10 AM
Tibor Santa
Tibor Santa - avatar
+ 1
I think it's better to leave it in video format 😕
2nd Sep 2023, 5:15 AM
P A Arrchith Iyer
P A Arrchith Iyer - avatar