Closed honzawashere closed 2 months ago
*not with platform, but with client "WEB" or "YTMUSIC"
Same problem,changing the client to ANDROID solved this. The problem with the web client may be caused by ytdlp issues.
Same problem here!
got the same issue :(
same issue :( please helpp
Please only comment if you have additional info to avoid spam notifications Put reaction on OP to signal that you have the same issue Thx
Same problem,changing the client to ANDROID solved this. The problem with the web client may be caused by ytdlp issues.
That's actually really cool. Switched to "ANDROID" and everything works completely normal! Also "YTMUSIC_ANDROID" is working for me.
In FreeTube we have to remove previous player cache entry
But only applicable to those passing cache
when using Innertube.create
Might be applicable to your case
Update package version to latest(v10.1.0). this bug has been resolved.
@rizer234 not working, already on latest vesion (v10.1.0).
file:///D:/doe/dev/my/ytd/node_modules/jintr/dist/main.js:53 throw new JinterError(e.message); ^ JinterError: Unexpected token (1:47) at Jinter.evaluate (file:///D:/doe/my/ytd/node_modules/jintr/dist/main.js:53:19) at Object.evaluate [as eval] (file:///D:/doe/my/ytd/node_modules/youtubei.js/dist/src/platform/jsruntime/jinter.js:10:28) at Player.decipher (file:///D:/doe/my/ytd/node_modules/youtubei.js/dist/src/core/Player.js:77:38) at Format.decipher (file:///D:/doe/my/ytd/node_modules/youtubei.js/dist/src/parser/classes/misc/Format.js:126:23) at Module. (file:///D:/doe/my/ytd/node_modules/youtubei.js/dist/src/utils/FormatUtils.js:14:35) at Generator.next () at D:\doe\try\my\ytd\node_modules\tslib\tslib.js:169:75 at new Promise () at __awaiter (D:\doe\my\ytd\node_modules\tslib\tslib.js:165:16) at Module.download (file:///D:/doe/my/ytd/node_modules/youtubei.js/dist/src/utils/FormatUtils.js:5:12) Node.js v20.15.0
while running download example given in readme
Update package version to latest(v10.1.0). this bug has been resolved.
the bug is not resolved yet, and for some reason I am also getting another error now when trying to run the same function with ANDROID client now...
Error: Request to https://www.youtube.com/youtubei/v1/player?prettyPrint=false&alt=json failed with status 404
@honzawashere Same problem of 404 i get with some clients including ANDROID
@honzawashere Same problem of 404 i get with some clients including ANDROID
according to some sources, YouTube itself changed some scripts of their app and that's probably why we're receiving the unexpected token error. but about the 404 error, i don't really know what's causing it. in my case i'm logged in to account on my session and maybe that's also causing something but i'm assuming right now something changed with youtube's API, because after trying multiple clients i wasn't able to get it working!
InnertubeError: Request to https://www.youtube.com/youtubei/v1/next?prettyPrint=false&alt=json failed with status 404
at HTTPClient.
also it's weird to see that it's trying to use "/next" when getting info from video imho. but let's hope it gets quickly fixed.
EDIT: this was my bad, i actually forgot to set UniversalCache to be persistent. i fixed it with iOS client
@binbard If you have the cache setup, make sure you clear the cache after upgrading.
@binbard If you have the cache setup, make sure you clear the cache after upgrading.
yeah, after cleaning the cache and setting up everything again, the android and ios somehow started working for me.
Steps to reproduce
Failure Logs
Expected behavior
I expected my node.js express server to return the info as an response
Current behavior
instead of getting info, i'm getting an error
Version
Default
Anything else?
i don't know, i've already provided enough information for this issue. if the code is needed, i can also provide if you ask for it.
Checklist