mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-14 01:08:27 +00:00
fix: decipher youtube parameters
This commit is contained in:
parent
3148e9b622
commit
0d868e0bd3
@ -91,8 +91,8 @@ export default async function(o) {
|
||||
if (video && audio) return {
|
||||
type: "render",
|
||||
urls: [
|
||||
video.url + '&cpn=' + info.cpn + '&__clen=' + video.content_length,
|
||||
audio.url + '&cpn=' + info.cpn + '&__clen=' + audio.content_length
|
||||
video.decipher(yt.session.player) + '&cpn=' + info.cpn + '&__clen=' + video.content_length,
|
||||
audio.decipher(yt.session.player) + '&cpn=' + info.cpn + '&__clen=' + audio.content_length
|
||||
],
|
||||
filename: `youtube_${o.id}_${video.width}x${video.height}_${o.format}${isDubbed ? `_${o.dubLang}`:''}.${c[o.format].container}`
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user