I've searched for this question several times
Many suggested that 'Get both audio and video. And hide video.' and said that 'there is no audio only API'
But it needs more traffic than when only audio is retrieved if I wanted to listen to music via Youtube.
What makes me confused is, an android app called Firetube provides audio only.
Is this just a trick or does Google provides AUDIO ONLY API?
Turn on song-only mode: Open the YouTube Music app, and make sure you're signed into your YouTube Music Premium membership. Select your profile photo > Settings. Switch Don't play music videos to the on position.
First is: http://api.youtube6download.top These guys will give you an easiest way of converting yt to mp3 by using there HTML LINK, Javascript/iframe widgets. All you need to enter youtube video id and it will fetch/convert youtube video into audio format.
snippet. object. The snippet object contains basic details about the video, such as its title, description, and category. snippet.
YES YOU CAN
Yes, it is certainly possible, here is an API for that:
https://market.mashape.com/ehmo/savedeo
While it is against YouTube Terms of Service, it is technically possible to hack your way to the audio-only download link, and that's how the API's above work.
The is how I imagine the SaveDeo API does its magic: Download ONLY audio from a youtube video
This is what the guy at SaveDeo told me:
Youtube has audio only files. Savedeo doesn't do anything beyond providing you with the link. How we're doing this is the reason why are you using savedeo, isn't it.
Regarding the Terms of Service of the YouTube API
https://developers.google.com/youtube/terms/developer-policies
YOU CAN'T :
separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API;
promote separately the audio or video components of any YouTube audiovisual content made available through the YouTube API;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With