Skip to content

Commit 0e9ea61

Browse files
committed
fix(youtube): fix fetching youtube videos
there was an issue finding the user's thumbnail in a video
1 parent f6bfc58 commit 0e9ea61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

background/sources/videos/youtube.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ export default {
119119
return {
120120
user: {
121121
url: userUrl,
122-
image: item.channelThumbnail.thumbnails[0].url,
122+
image: item.channelThumbnailSupportedRenderers
123+
.channelThumbnailWithLinkRenderer.thumbnail.thumbnails[0].url,
123124
name: user.text,
124125
verified: item.ownerBadges && item.ownerBadges.some((badge) => {
125126
badge.tooltip == 'Verified';

0 commit comments

Comments
 (0)