Skip to content

Commit ac0ed44

Browse files
committed
fix(youtube): youtube videos in collections have view counts again
1 parent 0f75770 commit ac0ed44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: background/sources/videos/youtube.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default {
4141
url: info.video_url,
4242
length: parseInt(info.length_seconds),
4343
title: info.title,
44-
views: parseInt(info.view_count),
44+
views: info.player_response.videoDetails.viewCount,
4545
user: {
4646
url: info.author.channel_url,
4747
name: info.author.name,

0 commit comments

Comments
 (0)