Skip to content

Commit

Permalink
Added support of VK for mediaMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Pterko committed Jul 7, 2024
1 parent ef6bf10 commit 29ee3a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/processing/services/vk.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export default async function(o) {
resolution: `${quality}p`,
qualityLabel: `${quality}p`,
extension: "mp4"
},
mediaMetadata: {
duration: js.player.params[0].duration,
likes: js.mvData.likes,
views: js.videoModalInfoData.views,
title: js.mvData.title
}
}
return { error: 'ErrorEmptyDownload' }
Expand Down

0 comments on commit 29ee3a6

Please sign in to comment.