MCPcopy Create free account

hub / github.com/LuanRT/YouTube.js / functions

Functions1,594 in github.com/LuanRT/YouTube.js

↓ 1 callersMethodsetActions
(actions: Actions)
src/parser/classes/comments/CommentThread.ts:95
↓ 1 callersMethodsha1Hash
(data: string)
src/types/PlatformShim.ts:16
↓ 1 callersMethodsignOut
* Signs out of the current account and revokes the credentials.
src/core/Session.ts:684
↓ 1 callersMethodstart
()
src/parser/youtube/LiveChat.ts:126
↓ 1 callersFunctionstreamToIterable
(stream: ReadableStream<Uint8Array>)
src/utils/Utils.ts:189
↓ 1 callersMethodtoDash
* Generates a DASH manifest from the streaming data. * @param options * @returns DASH manifest
src/core/mixins/MediaInfo.ts:104
↓ 1 callersMethodtoHeatmap
* Converts this MacroMarkersListEntity to a Heatmap object * for compatibility with existing code. Only works for heatmap markers. * @returns Heat
src/parser/classes/MacroMarkersListEntity.ts:74
↓ 1 callersMethodtoString
* Converts the text to a string. * @returns The text.
src/parser/classes/misc/Text.ts:270
↓ 1 callersMethodupload
* Uploads a video to YouTube. * @example * ```ts * const file = fs.readFileSync('./my_awesome_video.mp4'); * const response = await yt.stu
src/core/clients/Studio.ts:150
↓ 1 callersMethodvalidateTokens
(tokens: OAuth2Tokens)
src/core/OAuth2.ts:319
Method#http
()
src/core/OAuth2.ts:323
FunctionDashManifest
({ streamingData, isPostLiveDvr, transformURL, rejectFormat, cpn, player, actions, storyboards
src/utils/DashManifest.tsx:79
FunctionFragment
(props: DashProps)
src/utils/DashUtils.ts:90
MethodLIBRARY_VERSION
()
src/core/Player.ts:289
FunctionOTFPostLiveDvrSegmentInfo
({ info }: { info: FSegmentInfo })
src/utils/DashManifest.tsx:30
FunctionSegmentInfo
({ info }: { info: FSegmentInfo })
src/utils/DashManifest.tsx:54
Methodaccount
* An interface for managing and retrieving account information.
src/Innertube.ts:603
Methodaction_queue
()
src/parser/youtube/SmoothedQueue.ts:141
Methodactions
* An internal class used to dispatch requests.
src/Innertube.ts:624
Methodactions
()
src/core/mixins/MediaInfo.ts:247
Methodactions
()
src/core/mixins/Feed.ts:182
FunctionaddRuntimeParser
(classname: string, ParserConstructor: YTNodeConstructor)
src/parser/parser.ts:219
MethodaddToLibrary
* Adds a given playlist to the library of a user. * @param playlist_id - The playlist ID.
src/core/managers/PlaylistManager.ts:73
MethodaddToWatchHistory
* Adds video to the watch history.
src/parser/youtube/VideoInfo.ts:195
MethodaddToWatchHistory
* Adds the song to the watch history.
src/parser/ytmusic/TrackInfo.ts:144
MethodaddToWatchHistory
(client_name?: string, client_version?: string, replacement = 'https://www.')
src/core/mixins/MediaInfo.ts:208
MethodaddVideos
* Adds videos to a given playlist. * @param playlist_id - The playlist ID. * @param video_ids - An array of video IDs to add to the playlist.
src/core/managers/PlaylistManager.ts:114
Methodalbums
()
src/parser/ytmusic/Search.ts:137
Methodany
* @deprecated * This call is not meant to be used outside of debugging. Please use the specific type getter instead.
src/parser/helpers.ts:278
MethodapplyContentTypeFilter
* Applies given content type filter to the list. Use {@link content_type_filters} to get available filters. * @param content_type_filter - The cont
src/parser/youtube/Channel.ts:177
MethodapplyFilter
* Applies given filter to the live chat. * @param filter - Filter to apply.
src/parser/youtube/LiveChat.ts:287
MethodapplyFilter
* Applies given filter to the feed. Use {@link filters} to get available filters. * @param filter - Filter to apply.
src/parser/youtube/HomeFeed.ts:24
MethodapplyFilter
* Applies a filter to the channel list. {@link filters}, {@link secondary_filters}, and {@link filter_nodes} can be used to get available filters.
src/parser/youtube/Channel.ts:101
MethodapplyFilter
* Applies given filter and returns a new {@link HashtagFeed} object. Use {@link HashtagFeed.filters} to get available filters. * @param filter - Fi
src/parser/youtube/HashtagFeed.ts:38
MethodapplyFilter
* Applies given filter to the library.
src/parser/ytmusic/Library.ts:94
MethodapplyFilter
(target_filter: string | ChipCloudChip)
src/parser/ytmusic/HomeFeed.ts:61
MethodapplyRefinement
* Applies a refinement filter to the search results. * * Use {@link Search.refinement_filters} to get a list of available refinements. *
src/parser/youtube/Search.ts:69
MethodapplySort
* Applies given sort option to the comments. * @param sort - Sort type.
src/parser/youtube/Comments.ts:53
MethodapplySort
* Applies a sort filter to the list. Use {@link sort_filters} to get available filters. * @param sortFilter - The sort filter to apply
src/parser/youtube/Channel.ts:154
MethodapplySort
* Applies given sort option to the library items.
src/parser/ytmusic/Library.ts:44
Methodarray
()
src/parser/helpers.ts:335
MethodarrayOfMaybe
* More typesafe variant of {@link Maybe#array}. * @returns a proxied array which returns all the values as {@link Maybe}. * @throws {TypeError}
src/parser/helpers.ts:178
Methodartists
()
src/parser/ytmusic/Search.ts:141
Methodautoplay_video_endpoint
* Gets the endpoint of the autoplay video
src/parser/youtube/VideoInfo.ts:410
Methodavailable_tabs
()
src/parser/ytmusic/TrackInfo.ts:155
Methodbest_thumbnail
()
src/parser/classes/Video.ts:148
Methodbest_thumbnail
()
src/parser/classes/CompactVideo.ts:96
Methodbest_thumbnail
()
src/parser/classes/misc/Author.ts:51
Methodbigint
()
src/parser/helpers.ts:102
MethodblockChannel
()
src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:30
Methodboolean
()
src/parser/helpers.ts:110
MethodbuildRequest
()
src/parser/classes/commands/ContinuationCommand.ts:37
MethodbuildRequest
()
src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/UnsubscribeEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/LikeEndpoint.ts:24
MethodbuildRequest
()
src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/BrowseEndpoint.ts:19
MethodbuildRequest
()
src/parser/classes/endpoints/WatchEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/CreateCommentEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/FeedbackEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/SearchEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/SubscribeEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19
MethodbuildRequest
()
src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/WatchNextEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/PlaylistEditEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:20
MethodbuildRequest
()
src/parser/classes/endpoints/ReelWatchEndpoint.ts:20
Methodcache_dir
()
src/utils/Cache.ts:9
Methodcache_dir
()
src/platform/react-native.ts:16
Methodcache_dir
()
src/platform/node.ts:34
Methodcache_dir
()
src/platform/cf-worker.ts:15
Methodcache_dir
()
src/platform/deno.ts:28
Methodcache_dir
()
src/platform/web.ts:19
Methodcall
(endpoint: NavigationEndpoint, args?: object)
src/Innertube.ts:575
Methodcallback
(cb: ((actions: YTNode[]) => void) | null)
src/parser/youtube/SmoothedQueue.ts:133
Functioncancel
(reason)
src/utils/FormatUtils.ts:122
Methodcategories
()
src/parser/ytkids/HomeFeed.ts:46
Methodchannels
* Get all the channels in the feed
src/core/mixins/Feed.ts:128
Methodclear
()
src/parser/youtube/SmoothedQueue.ts:125
Methodclient_name
()
src/core/Session.ts:698
Methodclient_version
()
src/core/Session.ts:694
Methodclips
()
src/parser/youtube/Library.ts:76
MethodcollectBindingIdentifiers
(pattern: ESTree.Node | null, target: Set<string>)
src/utils/javascript/JsAnalyzer.ts:460
MethodcollectParams
(fnNode: ESTree.ArrowFunctionExpression | ESTree.FunctionExpression | ESTree.FunctionDeclaration, target: Set<
src/utils/javascript/JsAnalyzer.ts:491
Methodcomment
* Posts a comment on a given video. * @param video_id - The video ID * @param text - The comment text
src/core/managers/InteractionManager.ts:119
Methodconstructor
(session: Session)
src/Innertube.ts:67
Methodconstructor
()
src/utils/EventEmitterLike.ts:6
Methodconstructor
(persistent: boolean, persistent_directory?: string)
src/utils/Cache.ts:6
Methodconstructor
(message: string, info?: any)
src/utils/Utils.ts:33
Methodconstructor
(session: Session, cookie?: string, fetch?: FetchFunction)
src/utils/HTTPClient.ts:30
Methodconstructor
(private analyzer: JsAnalyzer)
src/utils/javascript/JsExtractor.ts:62
Methodconstructor
* Creates a new instance over the provided source. * @param code JavaScript source to parse and inspect. * @param options Optional traversal set
src/utils/javascript/JsAnalyzer.ts:88
Methodconstructor
(data: unknown)
src/parser/generator.ts:427
Methodconstructor
(data: RawNode)
src/parser/continuations.ts:15
Methodconstructor
(data: RawNode)
src/parser/continuations.ts:29
← previousnext →401–500 of 1,594, ranked by callers