Skip to content

Commit

Permalink
tiktok: fix wrong string method name
Browse files Browse the repository at this point in the history
  • Loading branch information
otomir23 committed May 21, 2024
1 parent d801d57 commit cb55dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/processing/services/tiktok.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default async function(obj) {

let playAddr = detail.video.playAddr;
if (obj.h265) {
const h265PlayAddr = detail.video.bitrateInfo.find(b => b.CodecType.contains("h265"))?.PlayAddr.UrlList[0]
const h265PlayAddr = detail.video.bitrateInfo.find(b => b.CodecType.includes("h265"))?.PlayAddr.UrlList[0]
playAddr = h265PlayAddr || playAddr
}

Expand Down

0 comments on commit cb55dcd

Please sign in to comment.