← Home ← Back to /g/

Thread 107067471

51 posts 6 images /g/
Anonymous No.107067471 [Report] >>107067945 >>107067961 >>107068401 >>107068708 >>107069009 >>107072385 >>107073915 >>107077386
MAJOR YT-DLP UPDATE IMMINENT (this weekend)
https://github.com/yt-dlp/yt-dlp/issues/14404
s0ychan No.107067911 [Report]
I'm not ready!
Anonymous No.107067945 [Report] >>107068546
>>107067471 (OP)
>n/sig
What kind of racial slur is this one? I don't speak zoomer slang.
Anonymous No.107067961 [Report]
>>107067471 (OP)
i don't care as long as it works
Anonymous No.107067963 [Report]
does this mean I can finally download vids from teachable?
Anonymous No.107068053 [Report] >>107068073 >>107068171
>do webshit in anything but js
>have to pull in node anyway later
Anonymous No.107068073 [Report]
>>107068053
the forward slash (/) denotes alternative. therefore, your statement:
>have to pull in node
is incorrect.
Anonymous No.107068171 [Report] >>107068401
>>107068053
The default it uses is deno since it's the safest and there's a single-exe version that can just be dropped next to the yt-dlp exe.
Anonymous No.107068401 [Report] >>107068472
>>107068171
>Deno
>safest
kek
>>107067471 (OP)
I figured they would have to bend the knee eventually, pure-Python n-sig extraction was just too good of a hack to last
Anonymous No.107068424 [Report]
I don't get the issue anyway, the point is to download youtube videos without ads and without their shitty player. There's nothing wrong with using JS for that.
Their FAQ even says that using a headless browser would be "admission of defeat" but if it comes to that and we can use a headless browser with a convenient CLI to download and stream youtube videos anywhere, it'll still be useful at bypassing the shitty official site. You can't actually save the video normally in a real browser after all, nor run it through CLI, nor pipe it into mpv.
Anonymous No.107068472 [Report] >>107068555 >>107069003 >>107069217
>>107068401
>>safest
>kek
nta. explain. i know nothing of deno.
Anonymous No.107068546 [Report]
>>107067945
It's /sig/gers. I'm a simple man, I see /sig/ thread, I bump /sig/ thread.
Anonymous No.107068555 [Report]
>>107068472
Supposed to be NodeJS++ but no one cared because old heads would rather ride on depreciated bloatware than try new things.
Anonymous No.107068708 [Report]
>>107067471 (OP)
>it works
>there are straightforward tutorials
I will be happy, cause im not smart enough or trianed in code yet
Anonymous No.107069003 [Report] >>107069217 >>107074276
>>107068472
From what I gather it's just a self-contained JS runtime with heavily restricted permissions (sandboxed with no IO, etc.)
Unless someone gives actual details it's probably being shit on because 1) it's relatively new and 2) it's made in rust
Anonymous No.107069009 [Report] >>107069252 >>107069331 >>107072269 >>107077359
>>107067471 (OP)
wtf does this mean for the end user
is yt-dlp the best option for downloading videos?
Anonymous No.107069217 [Report]
>>107068472
They lack compliance with the JS standard and their "sandboxing" is effectively a meme with how easy it is to cause a logical bug in their core Rust primitives
>>107069003
nigger
Anonymous No.107069252 [Report]
>>107069009
yes
Anonymous No.107069331 [Report]
>>107069009
just means that you have to have deno/node/bun installed for it to call into to solve some n/sig challenges
Anonymous No.107069780 [Report] >>107069815 >>107072269 >>107072292 >>107072461 >>107082106
why does jewgle even go to such lengths? youtube is popular enough that someone somewhere will always be working on reverse engineering whatever fuckery they add in the client. meanwhile player performance gets worse every day
why bother? especially when they could potentially switch to DRM video streams, which would almost definitely put an end to yt-dlp supporting youtube
Anonymous No.107069815 [Report]
>>107069780
It reaches a point where you have to wonder if stripping the player down wouldn't be a more effective means to break yt-dlp.
Anonymous No.107071844 [Report]
based
Anonymous No.107072269 [Report]
>>107069009
>wtf does this mean for the end user
you have to download a javascript runtime next to yt-dlp to be able to download the higher resolutions
>>107069780
>why does jewgle even go to such lengths
temporary solution until they can just use your browsers DRM
Anonymous No.107072292 [Report] >>107072937
>>107069780
>why does jewgle even go to such lengths?
They're probably getting completely buttfucked currently by a million video AI startups trying to download every single video for training data.
Anonymous No.107072385 [Report]
>>107067471 (OP)
bashonly is a cool guy.
I made a PR to yt-dlp once on a friday afternoon. the same evening it was reviewed, I made some small adjustments and everything was merged the next day.
Anonymous No.107072461 [Report]
>>107069780
>why does jewgle even go to such lengths?
So they can charge for it
>someone somewhere will always be working on reverse engineering whatever fuckery they add in the client
And they want to push that as far underground as possible
>why bother? especially when they could potentially switch to DRM video streams
They would lose more money from cutting off legacy devices than they would gain by blocking downloads
It's clear they and other companies want to add draconian DRM (see Web Environment Integrity API, and TPM requirements/integrations), but all attempts have been shot down so far. Unless people draw a line and keep fighting back, it's only a matter of time.
Anonymous No.107072937 [Report]
>>107072292
kekt
Anonymous No.107073915 [Report] >>107074131 >>107074253
>>107067471 (OP)
which is the simplest dependency to install and sandbox on linux that wasn't written in (((rust)))?
Anonymous No.107074131 [Report]
>>107073915
tl;dr there isn't one
to install deno on linux you just run a simple install script. not really sure why you're so hung up on it being written in rust. most people just use software without caring what language it was written in
bun also requires just running an install script. it's written in C++
quickjs publishes binary releases so i think you should be able to just get one of them and use it
node is probably the most annoying one. the "official" instructions are to use `nvm` (node version manager). you just run an install script and then run `nvm install node` which will automatically pull in the latest version
the only one of these that has extensive sandboxing is deno ( https://docs.deno.com/runtime/fundamentals/security/ ). node has some very rudimentary sandboxing ( https://nodejs.org/api/permissions.html ). quickjs and bun don't have any built-in sandboxing. i think in theory all of these can be sandboxed with a library/plugin that intercepts e.g. fs.write calls but it sounds like a lot of effort for something that will end up being really brittle
finally, i don't know if i'd trust even deno's sandboxing. it's just a very nontrivial problem and i don't think they solved it. in 2024 there were a few vulnerabilities that let you by pass the sandbox ( https://secfault-security.com/blog/deno.html ). they're fixed by now but it's just a sign of what things are like. if you really need it to be properly sandboxed, i think your only option is to run it in docker or a VM. yes it's a huge pain but that's just the way it is
Anonymous No.107074253 [Report]
>>107073915
>which is the simplest dependency to install
depends on your os/distro, most probably have nodejs available
Anonymous No.107074276 [Report] >>107076192 >>107076252
>>107069003
the Deno model doesn't bring much security, because you have to grant all code in the whole app the same permissions, which for any non-trivial app will amount to "mostly everything"
Anonymous No.107076192 [Report]
>>107074276
Well good thing this is going to be a trivial app whose entire job is to parse an inline script and run some pure functions to calculate and output a signature or someshit
Anonymous No.107076252 [Report]
>>107074276
In their case it's enough as it doesn't need to be granular, but yeah otherwise the sandbox features are kinda weird
Anonymous No.107077322 [Report] >>107077487
Considering deno's only being used for youtube afaik, any attempts to exploit it would absolutely land youtube in legal hell.
I could see concern for other sites using it though, depending how it's implemented. If the maintainers are smart, it should be a last resort and have zero permissions to talk to anything else, with yt-dlp being the sole arbiter of communication.
Anonymous No.107077359 [Report]
>>107069009
for a windows user just download deno-x86_64-pc-windows-msvc.zip from https://github.com/denoland/deno/releases/latest, unpack the zip and put deno.exe in the same folder as yt-dlp.exe
Anonymous No.107077386 [Report] >>107077487
>>107067471 (OP)
So, does it just search the path for deno, node, bun and whatnot and execute the first one it finds?
Anonymous No.107077487 [Report]
>>107077322
>I could see concern for other sites using it though, depending how it's implemented
Essentially you're allowing arbitrary code execution. With deno you can lock that down that nothing can be done with your OS or that no network calls are made. Not sure if the other js runtimes have that
>>107077386
think they default to deno and every other has to be explicitly specified
Anonymous No.107077512 [Report]
Did they fix the problem with AI dubs and chronic 403 of -f 18?
>picrel me trying to use yt-dlp with that stupid page
Anonymous No.107077676 [Report]
shit indeed just werks now
based yt dlp devs dabbing on jewgle once again
Anonymous No.107078495 [Report] >>107078523 >>107078556 >>107078564 >>107078592 >>107079792 >>107081748 >>107082060 >>107082234
How about y'all just stop stealing YouTube videos? Ever thought about that?
Anonymous No.107078523 [Report]
yt-dlp -f b >>107078495
I just stole your post.
Anonymous No.107078556 [Report] >>107078563
>>107078495
Nobody downloads your crap Linux
Anonymous No.107078563 [Report]
>>107078556
Linus*
Anonymous No.107078564 [Report]
>>107078495
archiving
Anonymous No.107078592 [Report]
>>107078495
Anonymous No.107079792 [Report] >>107081468
>>107078495
archiving because even innocent channels get banned by the jews all the time
Anonymous No.107081468 [Report]
>>107079792
Anonymous No.107081748 [Report]
>>107078495
I did think about that, then a bunch of videos I loved disappeared from my favorites list, and now I am never going to let that happen again.
Anonymous No.107082060 [Report]
>>107078495
How about don't put your video on the internet if you don't want people to watch it dummy
Anonymous No.107082106 [Report]
>>107069780
There's also an element of breaking "It Just Werks" for normal people.
There are these temporary outages of yt-dlp while they adapt to changes in YouTube. For some people, these 1 days breaks and requirements of an update are enough for them to say "it was wigging out on me idk, just pay for it, I have the money for Premium" and other assorted giving up phrases, where they throw in the towel and let Google own them.
Anonymous No.107082234 [Report]
>>107078495
>stealing
Nigga is you retarded?