Steps to reproduce
import {Innertube} from "youtubei.js"
const yt = await Innertube.create({'player_id' : "2b83d2e0"})
try {
const info = await yt.getBasicInfo("zAw3MLNU56s" , {"client" : "TV"})
console.log(`Found : ${info.streaming_data?.adaptive_formats.length} Formats `)
const url = info.streaming_data?.adaptive_formats.find(f => f.itag === 251)
console.log(yt.session.player?.decipher(undefined , url?.signature_cipher))
} catch (e) {
console.log(e)
}
Failure Logs
PS C:\Users\protobug\Documents\typescript\ytjs> node .\index.ts
[YOUTUBEJS][Player]: Failed to extract signature decipher algorithm.
Found : 22 Formats
https://rr4---sn-gwpa-w5pr.googlevideo.com/videoplayback?expire=1758628035&ei=YzTSaJb7DP-cssUPq73AeA&ip=2409%3A40d4%3A100f%3A9ef0%3A2582%3Aaa77%3Ae7a9%3Abd9a&id=o-AN6xeAjBgYfq3LMFHuhtKE_zuZPqCkFv2mJ4CaOoF6SB&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1758606435%2C&mh=QK&mm=31%2C29&mn=sn-gwpa-w5pr%2Csn-gwpa-qxae7&ms=au%2Crdu&mv=m&mvi=4&pl=48&rms=au%2Cau&gcr=in&initcwndbps=758750&bui=ATw7iSXH6OJgoVWKReTl2eiYKzvECrisH1bmelc_bX5X6pZS44X8AjQOSVtnzAn-x6Tmq7PRtAsfTSos&spc=hcYD5WbVKrShCIyOUQpOzF_tjPVQ0oOU9bAv1cq0vM5WfU5rOMZ-Uvo9FRPD3vUl0ip0Zw&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=niPCnLq0cUrUcqTYBDllEa8Q&rqh=1&gir=yes&clen=3691246&dur=219.761&lmt=1714923346586129&mt=1758605922&fvip=3&keepalive=yes&lmw=1&fexp=51565116%2C51565681%2C51580970&c=TVHTML5&sefc=1&txp=5532434&n=pb7ixcD-RtFN4QWhu&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRQIgBfZtpKnsiDdg8N50ZJn0pHafltoppnMyhRksjrR0ZaUCIQCB_b_RX1EVquHPrz2_xKHUBVRLhQphGu19OMp8DYDmbA%3D%3D&cver=7.20250219.14.00
Expected behavior
Whenever i try to access the url i get a 403 because the format did not get properly deciphered
Current behavior
Version
Edge
Anything else?
No response
Checklist
Steps to reproduce
Failure Logs
Expected behavior
Whenever i try to access the url i get a 403 because the format did not get properly deciphered
Current behavior
other player ids works fine only this one has issue
Version
Edge
Anything else?
No response
Checklist