diff --git a/README.md b/README.md index 36f80b32..77ec79fb 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ ___
  • Implementing custom functionality
  • @@ -337,7 +337,7 @@ Retrieves video info, including playback data and even layout elements such as m -### getBasicInfo(video_id) +### getBasicInfo(video_id, client?) Suitable for cases where you only need basic video metadata. Also, it is faster than [`getInfo()`](#getinfo). diff --git a/docs/API/music.md b/docs/API/music.md index 4221e82f..46d14ac9 100644 --- a/docs/API/music.md +++ b/docs/API/music.md @@ -6,7 +6,7 @@ YouTube Music class. * Music * [.getInfo(video_id)](#getinfo) - * [.search(query, [filters?])](#search) + * [.search(query, filters?)](#search) * [.getHomeFeed()](#gethomefeed) * [.getExplore()](#getexplore) * [.getLibrary()](#getlibrary) @@ -30,7 +30,7 @@ Retrieves track info. | video_id | `string` | Video id | -### search(query, [filters?]) +### search(query, filters?) Searches on YouTube Music. @@ -187,13 +187,13 @@ Retrieves given playlist. Methods & Getters

    -- `#getRelated()` - Retrieves related playlists. -- `#getSuggestions()` - Retrieves playlist suggestions. -- `#getContinuation()` - Retrieves continuation. - `#has_continuation` diff --git a/package.json b/package.json index 9dfff8c9..b2182efb 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "build": "npm run build:parser-map && npm run build:proto && npm run bundle:browser && npm run bundle:browser:prod && npm run build:node", "build:proto": "npx protoc --ts_out ./src/proto --proto_path ./src/proto ./src/proto/youtube.proto", "build:node": "npx tsc", - "build:parser-map": "node ./scripts/build-parser-json.js", + "build:parser-map": "node ./scripts/build-parser-map.js", "bundle:browser": "npx tsc --module esnext && npx esbuild ./dist/browser.js --banner:js=\"/* eslint-disable */\" --bundle --target=chrome58 --keep-names --format=esm --sourcemap --define:global=globalThis --outfile=./bundle/browser.js --platform=browser", "bundle:browser:prod": "npm run bundle:browser -- --outfile=./bundle/browser.min.js --minify", "prepare": "npm run build", diff --git a/scripts/build-parser-json.js b/scripts/build-parser-map.js similarity index 100% rename from scripts/build-parser-json.js rename to scripts/build-parser-map.js