Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuanRT/YouTube.js
/ functions
Functions
1,594 in github.com/LuanRT/YouTube.js
⨍
Functions
1,594
◇
Types & classes
1,554
↓ 1 callers
Function
createBaseSoundInfoParams_Sound_Params_Ids
()
protos/generated/misc/params.ts:845
↓ 1 callers
Function
createBaseThirdPartyInfo
()
protos/generated/youtube/api/pfiinnertube/third_party_info.ts:27
↓ 1 callers
Function
createBaseThirdPartyInfo_EmbeddedPlayerContext
()
protos/generated/youtube/api/pfiinnertube/third_party_info.ts:126
↓ 1 callers
Function
createBaseUserInfo
()
protos/generated/youtube/api/pfiinnertube/user_info.ts:36
↓ 1 callers
Function
createBaseUserInfo_CredentialTransferToken
()
protos/generated/youtube/api/pfiinnertube/user_info.ts:249
↓ 1 callers
Function
createBaseUserInfo_DelegatePurchases
()
protos/generated/youtube/api/pfiinnertube/user_info.ts:197
↓ 1 callers
Function
createBaseUserInfo_DelegationContext
()
protos/generated/youtube/api/pfiinnertube/user_info.ts:223
↓ 1 callers
Function
createBaseUserInfo_KidsParent
()
protos/generated/youtube/api/pfiinnertube/user_info.ts:171
↓ 1 callers
Function
createBaseVisitorData
()
protos/generated/misc/params.ts:276
↓ 1 callers
Function
createBaseWatchNextRequest
()
protos/generated/youtube/api/pfiinnertube/watch_next_request.ts:45
↓ 1 callers
Function
createRuntimeClass
(classname: string, key_info: KeyInfo, logger: Parser.ParserErrorHandler)
src/parser/generator.ts:411
↓ 1 callers
Function
createWrapperFunction
(analyzer: JsAnalyzer, name: string, node: ESTree.Node)
src/utils/javascript/helpers.ts:223
↓ 1 callers
Method
enqueueActionGroup
(group: YTNode[])
src/parser/youtube/SmoothedQueue.ts:64
↓ 1 callers
Method
eval
(data: BuildScriptResult, env: Record<string, VMPrimative>)
src/types/PlatformShim.ts:18
↓ 1 callers
Function
flattenQueue
* Flattens the given queue. * @param queue - The queue to flatten.
src/parser/youtube/SmoothedQueue.ts:7
↓ 1 callers
Method
fromCache
* Retrieves session data from cache. * @param cache - A valid cache implementation. * @param session_args - User provided session arguments.
src/core/Session.ts:334
↓ 1 callers
Method
fromCache
(cache: ICache, player_id: string)
src/core/Player.ts:244
↓ 1 callers
Method
fromSource
(player_id: string, options: PlayerInitializationOptions)
src/core/Player.ts:265
↓ 1 callers
Function
generateSidAuth
(sid: string)
src/utils/Utils.ts:110
↓ 1 callers
Method
getApiPath
()
src/parser/types/CommandEndpoints.ts:2
↓ 1 callers
Method
getArtist
(artist_id: string)
src/core/clients/Music.ts:176
↓ 1 callers
Function
getAudioRepresentation
( format: Format, hoisted: string[], url_transformer: URLTransformer, actions?: Actions, player?: Pl
src/utils/StreamingInfo.ts:408
↓ 1 callers
Function
getAudioSet
( formats: Format[], url_transformer: URLTransformer, actions?: Actions, player?: Player, cpn?: stri
src/utils/StreamingInfo.ts:465
↓ 1 callers
Method
getBitrate
()
src/utils/StreamingInfo.ts:120
↓ 1 callers
Function
getColorInfo
(format: Format)
src/utils/StreamingInfo.ts:539
↓ 1 callers
Method
getComments
(video_id: string, sort_by?: 'TOP_COMMENTS' | 'NEWEST_FIRST', comment_id?: string)
src/Innertube.ts:306
↓ 1 callers
Method
getContinuation
* Retrieves next batch of contents.
src/parser/youtube/History.ts:25
↓ 1 callers
Method
getContinuationData
* Retrieves continuation data as it is.
src/core/mixins/Feed.ts:203
↓ 1 callers
Function
getCookie
(cookies: string, name: string, matchWholeName = false)
src/utils/Utils.ts:260
↓ 1 callers
Method
getCourses
()
src/Innertube.ts:367
↓ 1 callers
Method
getDeviceAndUserCode
()
src/core/OAuth2.ts:236
↓ 1 callers
Method
getExplore
()
src/core/clients/Music.ts:163
↓ 1 callers
Method
getExtractedMatches
* Returns the current set of matched extractions.
src/utils/javascript/JsAnalyzer.ts:647
↓ 1 callers
Function
getFormatGroupings
(formats: Format[], is_post_live_dvr: boolean)
src/utils/StreamingInfo.ts:166
↓ 1 callers
Method
getGuide
()
src/Innertube.ts:350
↓ 1 callers
Method
getHashtag
(hashtag: string)
src/Innertube.ts:430
↓ 1 callers
Method
getHome
()
src/parser/youtube/Channel.ts:279
↓ 1 callers
Function
getImageRepresentation
( duration: number, actions: Actions, board: StoryboardData | LiveStoryboardData, transform_url: URLTr
src/utils/StreamingInfo.ts:730
↓ 1 callers
Function
getImageSets
( duration: number, actions: Actions, storyboards: PlayerStoryboardSpec | PlayerLiveStoryboardSpec, tr
src/utils/StreamingInfo.ts:772
↓ 1 callers
Method
getInitializerFallback
* Provides a fallback initializer string based on the type of the initializer node. * @TODO: Check more cases. * @param init - The initializer e
src/utils/javascript/JsExtractor.ts:228
↓ 1 callers
Method
getLiveChat
* Retrieves Live Chat if available.
src/parser/youtube/VideoInfo.ts:367
↓ 1 callers
Method
getLyrics
(video_id: string)
src/core/clients/Music.ts:267
↓ 1 callers
Method
getMimeType
* Sometimes YouTube returns webp instead of jpg despite the file extension being jpg * So we need to update the mime type to reflect the actual mim
src/utils/StreamingInfo.ts:114
↓ 1 callers
Function
getNodeSourceRange
(node: ESTree.Node | null | undefined)
src/utils/javascript/helpers.ts:130
↓ 1 callers
Function
getNsigProcessorFn
(n?: string | null, sp?: string | null, s?: string | null)
src/utils/Utils.ts:266
↓ 1 callers
Function
getOTFSegmentTemplate
(url: string, actions: Actions)
src/utils/StreamingInfo.ts:231
↓ 1 callers
Method
getParams
()
src/parser/classes/endpoints/LikeEndpoint.ts:37
↓ 1 callers
Method
getPath
* Sometimes InnerTube does not return an API url, in that case the library should set it based on the name of the payload object. * @deprecated Thi
src/parser/classes/NavigationEndpoint.ts:105
↓ 1 callers
Method
getPlaylistsFromMemo
* Get all playlists on a given page via memo
src/core/mixins/Feed.ts:96
↓ 1 callers
Function
getPo
(identifier: string)
examples/browser/web/src/main.ts:51
↓ 1 callers
Function
getPostLiveDvrDuration
( shared_post_live_dvr_info: SharedPostLiveDvrInfo, format: Format, url_transformer: URLTransformer, a
src/utils/StreamingInfo.ts:305
↓ 1 callers
Method
getRelated
(video_id: string)
src/core/clients/Music.ts:246
↓ 1 callers
Method
getReplies
* Retrieves replies to this comment thread.
src/parser/classes/comments/CommentThread.ts:43
↓ 1 callers
Method
getSessionData
( lang = '', location = '', account_index = 0, visitor_data = '', user_agent: string = get
src/core/Session.ts:383
↓ 1 callers
Function
getStoryboardBitrate
( actions: Actions, board: StoryboardData | LiveStoryboardData, shared_response: SharedStoryboardRespons
src/utils/StreamingInfo.ts:688
↓ 1 callers
Function
getStoryboardInfo
( storyboards: PlayerStoryboardSpec | PlayerLiveStoryboardSpec )
src/utils/StreamingInfo.ts:637
↓ 1 callers
Function
getStoryboardMimeType
( actions: Actions, board: StoryboardData | LiveStoryboardData, transform_url: URLTransformer, probabl
src/utils/StreamingInfo.ts:665
↓ 1 callers
Function
getTextSets
( caption_tracks: CaptionTrackData[], format: 'vtt' | 'ttml', transform_url: URLTransformer )
src/utils/StreamingInfo.ts:791
↓ 1 callers
Function
getTrackRoles
(format: Format, has_drc_streams: boolean)
src/utils/StreamingInfo.ts:444
↓ 1 callers
Method
getTranscript
* Retrieves the video's transcript.
src/core/mixins/MediaInfo.ts:182
↓ 1 callers
Method
getValues
()
src/parser/youtube/SmoothedQueue.ts:41
↓ 1 callers
Function
getVideoRepresentation
( format: Format, url_transformer: URLTransformer, hoisted: string[], player?: Player, actions?: Act
src/utils/StreamingInfo.ts:588
↓ 1 callers
Function
getVideoSet
( formats: Format[], url_transformer: URLTransformer, player?: Player, actions?: Actions, cpn?: stri
src/utils/StreamingInfo.ts:611
↓ 1 callers
Method
getVideosFromMemo
* Get all videos on a given page via memo
src/core/mixins/Feed.ts:79
↓ 1 callers
Method
getWatchNextContinuation
* Retrieves watch next feed continuation.
src/parser/youtube/VideoInfo.ts:209
↓ 1 callers
Function
handleMediaData
(data: Uint8Array)
examples/browser/web/src/main.ts:271
↓ 1 callers
Function
handleRedirect
(redirectData: Protos.SabrRedirect)
examples/browser/web/src/main.ts:261
↓ 1 callers
Function
hex
(arrayBuffer: ArrayBuffer)
src/platform/polyfills/web-crypto.ts:21
↓ 1 callers
Function
hideUI
()
examples/browser/web/src/main.ts:365
↓ 1 callers
Function
hoistAudioChannelsIfPossible
(formats: Format[], hoisted: string[])
src/utils/StreamingInfo.ts:224
↓ 1 callers
Method
init
(tokens?: OAuth2Tokens)
src/core/OAuth2.ts:54
↓ 1 callers
Method
instanceof
* Get the node as an instance of the given class. * @param type - The type to check. * @returns the value as the given type. * @throws If the
src/parser/helpers.ts:289
↓ 1 callers
Function
introspect2
(classdata: unknown)
src/parser/generator.ts:366
↓ 1 callers
Function
introspectKeysFirstPass
(classdata: unknown)
src/parser/generator.ts:289
↓ 1 callers
Function
introspectKeysSecondPass
(key_info: KeyInfo)
src/parser/generator.ts:307
↓ 1 callers
Function
isArrayType
(value: unknown)
src/parser/generator.ts:222
↓ 1 callers
Function
isIgnoredKey
(key: string | symbol)
src/parser/generator.ts:400
↓ 1 callers
Function
isMiscType
(key: string, value: unknown)
src/parser/generator.ts:163
↓ 1 callers
Method
isNode
* Check if the value is a YTNode. * @returns Whether the value is a YTNode.
src/parser/helpers.ts:214
↓ 1 callers
Method
isObserved
* Check if the value is an ObservedArray.
src/parser/helpers.ts:251
↓ 1 callers
Function
isRendererList
(value: unknown)
src/parser/generator.ts:141
↓ 1 callers
Method
isRunsData
(data: RawNode)
src/parser/classes/misc/Text.ts:82
↓ 1 callers
Function
listProtoFiles
(dir)
dev-scripts/generate-proto.mjs:24
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
protos/generated/youtube/api/pfiinnertube/metadata_update_request.ts:889
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
protos/generated/misc/common.ts:330
↓ 1 callers
Function
main
()
examples/browser/web/src/main.ts:81
↓ 1 callers
Function
memberBaseName
(memberExpression: ESTree.MemberExpression, source: string)
src/utils/javascript/helpers.ts:193
↓ 1 callers
Function
normalizeTag
(tag: string)
src/utils/DashUtils.ts:35
↓ 1 callers
Function
parseActions
(data: RawData)
src/parser/parser.ts:758
↓ 1 callers
Function
parseC
(data: RawNode)
src/parser/parser.ts:716
↓ 1 callers
Function
parseCommand
(data: RawNode)
src/parser/parser.ts:664
↓ 1 callers
Method
parseEndpoint
(data: RawNode)
src/parser/classes/misc/Text.ts:88
↓ 1 callers
Method
pollForAccessToken
(device_and_user_code: DeviceAndUserCode)
src/core/OAuth2.ts:130
↓ 1 callers
Method
processAttachmentRuns
(runs: RawRun[], attachment_runs: AttachmentRun[], data: AttributedText)
src/parser/classes/misc/Text.ts:207
↓ 1 callers
Method
processCommandRuns
(runs: RawRun[], command_runs: CommandRun[], data: AttributedText)
src/parser/classes/misc/Text.ts:177
↓ 1 callers
Method
processStyleRuns
(runs: RawRun[], style_runs: (StyleRun & ResponseRun)[], data: AttributedText)
src/parser/classes/misc/Text.ts:139
↓ 1 callers
Method
removeCache
()
src/core/OAuth2.ts:126
↓ 1 callers
Function
renderElementToString
(element: DashNode | string)
src/utils/DashUtils.ts:59
↓ 1 callers
Method
revokeCredentials
()
src/core/OAuth2.ts:185
↓ 1 callers
Method
selectLanguage
* Selects a language from the language menu and returns the updated transcript. * @param language - Language to select.
src/parser/youtube/TranscriptInfo.ts:26
← previous
next →
301–400 of 1,594, ranked by callers