mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
* chore(deps): Add `meriyah` * feat(utils): Implement AST-based JS extractors * chore(utils): Remove old ast walker code * fix(Player): Migrate js extraction logic * chore(JsExtractor): Fix typo in tsdoc * perf(JsAnalyzer): Simplify main AST analysis logic * fix(JsAnalyzer): Change `break` to `return` in AST matching logic * chore: Update docs * chore: Don't export `PlayerInitializationOptions` * chore(evaluate): Update error message to include doc link * perf: Use a `for-loop` to find iife
2.1 KiB
2.1 KiB
youtubei.js / YTMusic / Artist
Class: Artist
Constructors
new Artist()
new Artist(
response,actions):Artist
Parameters
• response: ApiResponse
• actions: Actions
Returns
Defined in
src/parser/ytmusic/Artist.ts:23
Properties
header?
optionalheader:MusicImmersiveHeader|MusicVisualHeader|MusicHeader
Defined in
src/parser/ytmusic/Artist.ts:20
sections
sections:
ObservedArray<MusicCarouselShelf|MusicShelf>
Defined in
src/parser/ytmusic/Artist.ts:21
Accessors
page
getpage():IBrowseResponse
Returns
Defined in
src/parser/ytmusic/Artist.ts:53
Methods
getAllSongs()
getAllSongs():
Promise<undefined|MusicPlaylistShelf>
Returns
Promise<undefined | MusicPlaylistShelf>