Skip to content

Commit

Permalink
fix(youtube): youtube videos in collections have view counts again
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Dec 17, 2018
1 parent 0f75770 commit ac0ed44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background/sources/videos/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default {
url: info.video_url,
length: parseInt(info.length_seconds),
title: info.title,
views: parseInt(info.view_count),
views: info.player_response.videoDetails.viewCount,
user: {
url: info.author.channel_url,
name: info.author.name,
Expand Down

0 comments on commit ac0ed44

Please sign in to comment.