mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-23 06:41:22 -05:00
[GH-ISSUE #875] Allow a way for user to download the raw info json video data from a given instance. #11838
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 @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
@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
@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.
@wukko commented on GitHub (Nov 2, 2024):
we’re not gonna do that, there’s no “info.json” in the first place