mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 03:08:30 +00:00
tiktok: fix wrong string method name
This commit is contained in:
parent
d801d57a65
commit
cb55dcdc14
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user