imputnet / cobalt

best way to save what you love
https://cobalt.tools
GNU Affero General Public License v3.0
14.48k stars 1.15k forks source link

YT vid ain't downloading dawg #715

Closed smoressy closed 2 weeks ago

smoressy commented 2 weeks ago

https://www.youtube.com/watch?v=ImDa2MB_hoQ "this youtube video is unavailable. it could be visibility or region restricted. try another one!"

pangzheng commented 2 weeks ago

youtube video all not download

wukko commented 2 weeks ago

seems to be working fine now, can you try again?

hopeseekr commented 1 week ago

Every video says

couldn't get this youtube video because it requires an account to view.

this limitation is done by google to seemingly stop scraping, affecting all 3rd party tools and even their own clients.

try again, but if issue persists, check the or .

It's on Hetzner, in case that matters.

KwiatekMiki commented 1 week ago

It's on Hetzner, in case that matters.

So you're self-hosting it? If yes, set up cookies for YouTube. https://github.com/imputnet/cobalt/issues/687#issuecomment-2293405845

LordByronRS commented 1 week ago

It's on Hetzner, in case that matters.

So you're self-hosting it? If yes, set up cookies for YouTube. #687 (comment)

~~I tried exactly what it says in the tutorial. I got something like this: "access_token=ya2; refresh_token=1//; scope=https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube-paid-content; token_type=Bearer; expiry_date=2024-09-08T22:58:58.080Z" Added that into the cookies.json (which is correctly mounted in the container) and I still get the exact same error.~~

Edit: Turns out I forgot to uncomment the COOKIE_PATH. Thank you very much for this amazing tool!