mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-21 05:40:27 -05:00
[GH-ISSUE #1173] Errors when downloading from YouTube #3662
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wukko on GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1173
approx a week ago youtube pushed an update that enforced the po token for ±all googlevideo links from the android client, so we switched to the ios client to go around it on the main instance. today, it seems like youtube increased the ratio of an a/b test that makes the current ios client fail the precondition check when requesting the player (due to an old client version, now confirmed).
in cobalt it's displayed as this error (
error.api.fetch.fail):if you log the actual error from youtube.js, you see this:
any help is very welcome!
@CimkNoYAP commented on GitHub (Mar 19, 2025):
yeah same, im getting this issue too, wonder when they realize lol
@CimkNoYAP commented on GitHub (Mar 19, 2025):
NVM I TRIED TO DO IT LIKE 5 TIMES IDDNT WORK AND THEN I WENT TO THIS PAGE WROTE THE BEFORE COMMENT, WENT BACK TO TRY AGAIN AND IT WORKED... you just gotta fiddle with it rn
@rubiopedro commented on GitHub (Mar 19, 2025):
you can generate po_token/visitor_data using BgUtils
that way, it will be generated in the API itself instead of using an external service which can make hosting instances a bit complex
@wukko commented on GitHub (Mar 19, 2025):
you're welcome to make a pull request!
@OriDiwa commented on GitHub (Mar 19, 2025):
I'm also having this issue with this video: https://www.youtube.com/watch?v=Px-NQmdeeGU