[GH-ISSUE #1235] YouTube videos in higher quality can't be downloaded, getting 0 byte files on self-hosted instances when using a session generator #5188

Closed
opened 2026-04-16 00:36:48 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ayoung971215 on GitHub (Apr 23, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1235

bug description

When I download a 4K or 2K video, a 0KB video file will be downloaded. I can only download it normally after changing the setting to 1080P,youtube link

Image

reproduction steps

Image

screenshots

·

·

platform information

chorme

additional context

·

Originally created by @ayoung971215 on GitHub (Apr 23, 2025). Original GitHub issue: https://github.com/imputnet/cobalt/issues/1235 ### bug description When I download a 4K or 2K video, a 0KB video file will be downloaded. I can only download it normally after changing the setting to 1080P,youtube link ![Image](https://github.com/user-attachments/assets/1a35f35a-6ed1-4a94-9887-2770a6c5154e) ### reproduction steps ![Image](https://github.com/user-attachments/assets/0a37ded4-5b2d-482e-b791-04f7b8d78fcf) ### screenshots · ### links ```shell · ``` ### platform information chorme ### additional context ·
GiteaMirror added the bug label 2026-04-16 00:36:48 -05:00
Author
Owner

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

this is caused by a player cipher update, there's already an issue about it in the youtube.js repo: https://github.com/LuanRT/YouTube.js/issues/952

we'll have to wait or make a pr to youtube.js to fix this. for now, i've disabled the web client on hosted (https://cobalt.tools) instance to prevent 0 byte files. highest quality will not be available until deciphering is fixed.

<!-- gh-comment-id:2823080133 --> @wukko commented on GitHub (Apr 23, 2025): this is caused by a player cipher update, there's already an issue about it in the youtube.js repo: https://github.com/LuanRT/YouTube.js/issues/952 we'll have to wait or make a pr to youtube.js to fix this. for now, i've disabled the web client on hosted (https://cobalt.tools) instance to prevent 0 byte files. highest quality will not be available until deciphering is fixed.
Author
Owner

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

fixed & highest quality is back on the main instance

<!-- gh-comment-id:2824490369 --> @wukko commented on GitHub (Apr 23, 2025): fixed & highest quality is back on the main instance
Sign in to join this conversation.