Skip to content

Commit fcf5cec

Browse files
committed
fix(youtube): fix getting user url
1 parent 15d9368 commit fcf5cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

background/sources.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ sources.videos.youtube = {
258258

259259
return {
260260
user: {
261-
url: 'https://www.youtube.com/' +
262-
user.navigationEndpoint.browseEndpoint.canonicalBaseUrl,
261+
url: 'https://www.youtube.com' +
262+
user.navigationEndpoint.webNavigationEndpointData.url,
263263
thumbnail: item.channelThumbnail.thumbnails[0].url,
264264
name: user.text,
265265
verified: item.ownerBadges && item.ownerBadges.some((badge) => {

0 commit comments

Comments
 (0)