From bed0ff4154dc54066ad0b6812e45832645d4d005 Mon Sep 17 00:00:00 2001 From: LuanRT Date: Thu, 16 Feb 2023 19:05:42 -0300 Subject: [PATCH] docs(readme): fix formatting --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 180e71aa..181b4253 100644 --- a/README.md +++ b/README.md @@ -584,8 +584,9 @@ Retrieves a given hashtag's page. ### getStreamingData(video_id, options) Returns deciphered streaming data. -**Note** -This will be deprecated in the future. It is recommended to retrieve streaming data from a `VideoInfo`/`TrackInfo` object instead if you want to select formats manually, example: +> **Note** +> This will be deprecated in the future. It is recommended to retrieve streaming data from a `VideoInfo`/`TrackInfo` object instead if you want to select formats manually, see the example below. + ```ts const info = await yt.getBasicInfo('somevideoid'); const url = info.streaming_data?.formats[0].decipher(yt.session.player);