Fix extracting channel icon for playlists
This commit is contained in:
parent
7eebccb417
commit
62711f87b8
@ -723,10 +723,10 @@ function getNormalPlaylist(response: any, body: any): YouTubePlayList {
|
||||
author.videoOwnerRenderer.navigationEndpoint.commandMetadata.webCommandMetadata.url ||
|
||||
author.videoOwnerRenderer.navigationEndpoint.browseEndpoint.canonicalBaseUrl
|
||||
}`,
|
||||
icon: author.videoOwnerRenderer.thumbnail.thumbnails.length
|
||||
icons: author.videoOwnerRenderer.thumbnail.thumbnails.length
|
||||
? author.videoOwnerRenderer.thumbnail.thumbnails[
|
||||
author.videoOwnerRenderer.thumbnail.thumbnails.length - 1
|
||||
].url
|
||||
]
|
||||
: null
|
||||
}
|
||||
: {},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user