[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1734235775408459.png (228 KB, 1442x535)
228 KB
228 KB PNG
MAJOR YT-DLP UPDATE IMMINENT (this weekend)
https://github.com/yt-dlp/yt-dlp/issues/14404
>>
I'm not ready!
>>
>>107067471
>n/sig
What kind of racial slur is this one? I don't speak zoomer slang.
>>
>>107067471
i don't care as long as it works
>>
does this mean I can finally download vids from teachable?
>>
>do webshit in anything but js
>have to pull in node anyway later
>>
>>107068053
the forward slash (/) denotes alternative. therefore, your statement:
>have to pull in node
is incorrect.
>>
>>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.
>>
>>107068171
>Deno
>safest
kek
>>107067471
I figured they would have to bend the knee eventually, pure-Python n-sig extraction was just too good of a hack to last
>>
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.
>>
>>107068401
>>safest
>kek
nta. explain. i know nothing of deno.
>>
>>107067945
It's /sig/gers. I'm a simple man, I see /sig/ thread, I bump /sig/ thread.
>>
>>107068472
Supposed to be NodeJS++ but no one cared because old heads would rather ride on depreciated bloatware than try new things.
>>
>>107067471
>it works
>there are straightforward tutorials
I will be happy, cause im not smart enough or trianed in code yet
>>
>>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
>>
>>107067471
wtf does this mean for the end user
is yt-dlp the best option for downloading videos?
>>
>>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
>>
>>107069009
yes
>>
>>107069009
just means that you have to have deno/node/bun installed for it to call into to solve some n/sig challenges
>>
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
>>
>>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.
>>
based
>>
>>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
>>
>>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.
>>
>>107067471
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.
>>
>>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.
>>
>>107072292
kekt
>>
>>107067471
which is the simplest dependency to install and sandbox on linux that wasn't written in (((rust)))?
>>
>>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
>>
>>107073915
>which is the simplest dependency to install
depends on your os/distro, most probably have nodejs available
>>
>>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"
>>
>>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
>>
>>107074276
In their case it's enough as it doesn't need to be granular, but yeah otherwise the sandbox features are kinda weird
>>
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.
>>
>>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
>>
>>107067471
So, does it just search the path for deno, node, bun and whatnot and execute the first one it finds?
>>
>>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
>>
File: 8cd87x.jpg (41 KB, 500x500)
41 KB
41 KB JPG
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
>>
shit indeed just werks now
based yt dlp devs dabbing on jewgle once again
>>
How about y'all just stop stealing YouTube videos? Ever thought about that?
>>
yt-dlp -f b >>107078495
I just stole your post.
>>
>>107078495
Nobody downloads your crap Linux
>>
>>107078556
Linus*
>>
>>107078495
archiving
>>
>>107078495
archiving because even innocent channels get banned by the jews all the time
>>
>>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.
>>
>>107078495
How about don't put your video on the internet if you don't want people to watch it dummy
>>
>>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.
>>
>>107078495
>stealing
Nigga is you retarded?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.