tombulled / python-youtube-music

Python 3 YouTube Music Web API Client
GNU General Public License v3.0
64 stars 13 forks source link

API key public #3

Closed CursedKeyboard closed 4 years ago

CursedKeyboard commented 4 years ago

Maybe you have restricted the key access but if you haven't you probably should. It's in ytm/constants/init so everyone can see it.

tombulled commented 4 years ago

The API key is taken from YouTube Music which makes no apparent attempt to hide it. It's not my own personal API key, rather one they seem to use for everyone.

To find it, simply view the source code of the YouTube Music home page and search for the string: _innertube_apikey. It should yield: "innertube_api_key":"AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"