diff --git a/README.md b/README.md index 999e8f73..9014e024 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,10 @@ const search = await youtube.search('Looking for life on Mars - Documentary'); // YTMusic: const search = await youtube.search('Never Gonna Give You Up', { client: 'YTMUSIC' }); - -// Get lyrics for a song directly from YouTube Music! -const lyrics = await search.songs[0].getLyrics(); ``` -YouTube Search Output +YT Search Output ```js @@ -132,7 +129,7 @@ const lyrics = await search.songs[0].getLyrics(); -YouTube Music Search Output +YTMusic Search Output @@ -347,8 +344,17 @@ const lyrics = await search.songs[0].getLyrics(); + -Get details about a specific video: +Find lyrics for a song, directly from YTMusic! +```js +const search = await youtube.search('7 Years', { client: 'YTMUSIC' }); +const lyrics = await search.songs[0].getLyrics(); + +// Or: +const lyrics = await youtube.getLyrics(search.songs[0].id); +``` +Get video details: ```js const video = await youtube.getDetails(search.videos[0].id);
```js @@ -132,7 +129,7 @@ const lyrics = await search.songs[0].getLyrics();
@@ -347,8 +344,17 @@ const lyrics = await search.songs[0].getLyrics();