mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-11 08:12:38 -05:00
couldn't get this youtube video because it requires an account to view. #342
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 @michelleDeko on GitHub (Jul 7, 2024).
Hi,
since some days I can't download YouTube Videos anymore because of following error:
How can I fix this?
@michelleDeko commented on GitHub (Jul 7, 2024):
This error happens with every YouTube Video I tried (for example: https://youtu.be/DrE9umGiPZQ?si=gt-Wp2qXKYodYgRp)
Used it on my server dl.miichelle.moe (that's also listed on the instances list lol), country is Germany
@ihatespawn commented on GitHub (Jul 8, 2024):
just realised the tag.
it was very late and i forgot to look at it, sorry
youtube just started blocking bots again, maybe you should try changing the ip of the server or just add cookies (this will probably get your google account banned)
@michelleDeko commented on GitHub (Jul 8, 2024):
I think changing the ip of the server wouldn't really work for me lol
How can I add cookies for Youtube (using a throwaway google account)?
@ihatespawn commented on GitHub (Jul 8, 2024):
node src/util/generate-youtube-tokenswith cobalt's source code open@michelleDeko commented on GitHub (Jul 8, 2024):
I did this now and added the cookies generate into cookies.json (copied over from the example files) and named it "youtube" inside the cookies.json. But it still doesn't work
@ihatespawn commented on GitHub (Jul 8, 2024):
"youtube_oauth" not "youtube"
@michelleDeko commented on GitHub (Jul 8, 2024):
Ok, changed it, but still doesn't work :/
@wukko commented on GitHub (Jul 15, 2024):
there's nothing we can do to help from our side. try updating the docker package and using a different google account, NOT YOUR PERSONAL ONE, IT MIGHT GET BANNED