[GH-ISSUE #1123] 403 error for youtube downloads with cookies #16316

Closed
opened 2026-06-01 14:18:33 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @coderonex on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1123

problem description

It was stable until today, but now youtube's video link returns 403 when downloading, when not with a cookie it downloads fine, it shouldn't be the ip being banned

related issue: https://github.com/LuanRT/YouTube.js/issues/905

your instance configuration


Originally created by @coderonex on GitHub (Feb 21, 2025). Original GitHub issue: https://github.com/imputnet/cobalt/issues/1123 ### problem description It was stable until today, but now youtube's video link returns 403 when downloading, when not with a cookie it downloads fine, it shouldn't be the ip being banned related issue: https://github.com/LuanRT/YouTube.js/issues/905 ### your instance configuration ```shell ```
GiteaMirror added the instance hosting help label 2026-06-01 14:18:33 -05:00
Author
Owner

@wukko commented on GitHub (Feb 21, 2025):

do you know if any specific videos cause this issue? is it just the web client that's affected? (web client is used when you pass cookies)

<!-- gh-comment-id:2675007665 --> @wukko commented on GitHub (Feb 21, 2025): do you know if any specific videos cause this issue? is it just the web client that's affected? (web client is used when you pass cookies)
Author
Owner

@coderonex commented on GitHub (Feb 21, 2025):

I've tried downloading several different youtube videos and they all do the same thing, I'm using cookies, it should just be the web client that's affected!
Maybe wait for the youtube.js project to fix this?

<!-- gh-comment-id:2675030453 --> @coderonex commented on GitHub (Feb 21, 2025): I've tried downloading several different youtube videos and they all do the same thing, I'm using cookies, it should just be the web client that's affected! Maybe wait for the [youtube.js](https://github.com/LuanRT/YouTube.js) project to fix this?
Author
Owner

@LingeringAsh commented on GitHub (Feb 21, 2025):

Can add a bit of context.

It occurs on every client (Atleast the ones I've tested {WEB,MWEB,TVHTML}) Removing cookies could maybe fix it (Can't test due to local IP being restricted unless logged in). Reverting back to an older player script fixes the problem for now.

7795af42

Is the known working version for now.

<!-- gh-comment-id:2675194967 --> @LingeringAsh commented on GitHub (Feb 21, 2025): Can add a bit of context. It occurs on every client (Atleast the ones I've tested {WEB,MWEB,TVHTML}) Removing cookies could maybe fix it (Can't test due to local IP being restricted unless logged in). Reverting back to an older player script fixes the problem for now. 7795af42 Is the known working version for now.
Author
Owner

@coderonex commented on GitHub (Feb 23, 2025):

do you know if any specific videos cause this issue? is it just the web client that's affected? (web client is used when you pass cookies)

After testing the problem has been fixed, can you update youtubei.js to version 13.1.0 and release a new docker image?

@wukko https://github.com/LuanRT/Jinter/pull/29

<!-- gh-comment-id:2676571702 --> @coderonex commented on GitHub (Feb 23, 2025): > do you know if any specific videos cause this issue? is it just the web client that's affected? (web client is used when you pass cookies) After testing the problem has been fixed, can you update youtubei.js to version 13.1.0 and release a new docker image? @wukko https://github.com/LuanRT/Jinter/pull/29
Author
Owner

@wukko commented on GitHub (Feb 23, 2025):

closed via 187b1f8 & i started the image build :3

<!-- gh-comment-id:2676683041 --> @wukko commented on GitHub (Feb 23, 2025): closed via [187b1f8](https://github.com/imputnet/cobalt/commit/187b1f8f0593f3436d5533a60ee0fa23538174aa) & i started the image build :3
Sign in to join this conversation.