[GH-ISSUE #875] Allow a way for user to download the raw info json video data from a given instance. #1948

Closed
opened 2026-04-11 06:21:02 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @barkoder on GitHub (Oct 31, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/875

describe the feature you'd like to see

cobalt seems to be – at the moment at least – the only service that's able to somehow get past YT's age-restriction for some videos.

The problem is #647 . Downloads getting interrupted mid transmission, and ffmpeg can't switch proxies and continue muxing where it 403 errored.

This issue also happens when I use yt-dlp(for non age restricted vids), but it works when I switch to a different IP to download the file using the same info.json .

However, yt-dlp fails to download age-restricted videos at the moment.

But cobalt works.

So I was wondering if you could allow a way for the user to grab the raw info.json (yt-dlp --write-info-json) file that cobalt used to crawl a YT video's webpage?
This would be especially useful for age restricted vids. The user may then use yt-dlp --load-info-json (or some other software) to cycle through IPs and eventually successfully download the video.

Thanks!

additional context

No response

Originally created by @barkoder on GitHub (Oct 31, 2024). Original GitHub issue: https://github.com/imputnet/cobalt/issues/875 ### describe the feature you'd like to see cobalt seems to be – at the moment at least – the only service that's able to somehow get past YT's age-restriction for *some* videos. The problem is #647 . Downloads getting interrupted mid transmission, and ffmpeg can't switch proxies and continue muxing where it 403 errored. This issue also happens when I use yt-dlp(for non age restricted vids), but it works when I switch to a different IP to download the file using the same info.json . However, yt-dlp fails to download age-restricted videos at the moment. But cobalt works. So I was wondering if you could allow a way for the user to grab the raw info.json (`yt-dlp --write-info-json`) file that cobalt used to crawl a YT video's webpage? This would be especially useful for age restricted vids. The user may then use `yt-dlp --load-info-json` (or some other software) to cycle through IPs and eventually successfully download the video. Thanks! ### additional context _No response_
GiteaMirror added the feature request label 2026-04-11 06:21:02 -05:00
Author
Owner

@wukko commented on GitHub (Oct 31, 2024):

have you tried https://cobalt.tools/settings/video#youtube-hls ? it doesn’t cut off videos for me

<!-- gh-comment-id:2449700249 --> @wukko commented on GitHub (Oct 31, 2024): have you tried https://cobalt.tools/settings/video#youtube-hls ? it doesn’t cut off videos for me
Author
Owner

@barkoder commented on GitHub (Nov 2, 2024):

Hi, thanks for that suggestion, but I tested 7 videos. It randomly cut off 2 of them. It's inconsistent.

If I had access to the info.json , I could just download the vids straight off of YT.

<!-- gh-comment-id:2452789409 --> @barkoder commented on GitHub (Nov 2, 2024): Hi, thanks for that suggestion, but I tested 7 videos. It randomly cut off 2 of them. It's inconsistent. If I had access to the info.json , I could just download the vids straight off of YT.
Author
Owner

@wukko commented on GitHub (Nov 2, 2024):

we’re not gonna do that, there’s no “info.json” in the first place

<!-- gh-comment-id:2452807725 --> @wukko commented on GitHub (Nov 2, 2024): we’re not gonna do that, there’s no “info.json” in the first place
Sign in to join this conversation.