diff --git a/YoutubeConfig.json b/YoutubeConfig.json index 64931785a98f20ab4b51f03278a60a22509c37d0..7d66bd71709fd62157e16427ddfce4d92089166c 100644 --- a/YoutubeConfig.json +++ b/YoutubeConfig.json @@ -7,7 +7,7 @@ "sourceUrl": "https://plugins.grayjay.app/Youtube/YoutubeConfig.json", "repositoryUrl": "https://futo.org", "scriptUrl": "./YoutubeScript.js", - "version": 161, + "version": 162, "iconUrl": "./youtube.png", "id": "35ae969a-a7db-11ed-afa1-0242ac120002", diff --git a/YoutubeScript.js b/YoutubeScript.js index 908e837eac7a388c8aebad9512b80f145b0748f3..e1dc799f49521e23400115471f9fb1bd91e258ae 100644 --- a/YoutubeScript.js +++ b/YoutubeScript.js @@ -3255,7 +3255,7 @@ function extractVideoWithContextRenderer_AuthorLink(videoRenderer) { } function extractVideoRenderer_AuthorLink(videoRenderer) { const id = videoRenderer.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer?.navigationEndpoint?.browseEndpoint?.browseId; - const name = extractRuns_String(videoRenderer.ownerText.runs); + const name = extractText_String(videoRenderer.ownerText)//extractRuns_String(videoRenderer.ownerText.runs); const channelIcon = videoRenderer.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer; const thumbUrl = channelIcon.thumbnail.thumbnails[0].url; const channelUrl = (!id) ? extractRuns_Url(videoRenderer.ownerText.runs) : URL_BASE + "/channel/" + id;