Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Youtube API that gives only audio? [closed]

Tags:

youtube-api

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?

like image 799
Jeon Avatar asked Oct 24 '14 13:10

Jeon


People also ask

Can you make YouTube play audio only?

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.

How do I get audio from YouTube API?

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.

What is snippet YouTube API?

snippet. object. The snippet object contains basic details about the video, such as its title, description, and category. snippet.


2 Answers

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.

like image 187
etayluz Avatar answered Sep 19 '22 19:09

etayluz


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;

like image 25
mpgn Avatar answered Sep 21 '22 19:09

mpgn