DOWNLOADING YOUTUBE VIDEOS IS NON FREE

DOWNLOADING YOUTUBE VIDEOS IS NON FREE

lists.nongnu.org/archive/html/gnu-linux-libre/2017-04/msg00001.html

To clarify: I'm a LibreJS proponent, not a NoScript proponent.

This issue seems to affect at least: Trisquel, Guix (and GuixSD),
Parabola.

Backstory paragraph: Earlier on the trisquel-users mailing list, people
questioned how to watch YouTube videos with free/libre software, and so
I jumped in suggesting them that, while this is possible, society should
publish videos in places that use, for example, GNU MediaGoblin and
GNUnet. Some people asked about Vimeo and Internet Archive. However, I
told them that these hold the exact same problems against the *average
site visitor* (i.e.: non-free video formats being provided by default,
non-free JS being forced by default). By "average" I mean those who
don't have JS disabled and those which have no non-free JS blocker.

Sometime later, the discussion changed slightly after reports from some
people saying that youtube-dl can run arbitrary code through
[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076773.html]["jsinterp.py";
JavaScript interpreter script]].

At first,
[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076787.html][evaluators
thought that the capability of such script to be limited]], however,
[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076820.html][lcerf
argues]] that this script has things that make it Turing-complete, and
argues that, with this, the problem is not the interpreter script
itself, but the code that it interpretes. lcerf also questions if this
interpreter script is taking arbitrary code from the web.

[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076844.html][Other
user answered]] lcerf's question saying that it might be, because it's
set-up to do so --- but he doesn't know if this is the actual case. And
also says that the module containing the JavaScript interpreter is
imported by another script at "extractor/youtube.py", and the same user
points to parts of the code that make use of such JavaScript
interpreter.

Later on,
[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076931.html][people
summarized what is hapenning and where to go from here]],
[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076935.html][lcerf
took a look at ViewTube GreaseMonkey userscript]], and
[[listas.trisquel.info/pipermail/trisquel-users/2017-April/076940.html][I
made some suggestions to recommend for average users]].


Respectfully, Adonay.
--
- [[libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard
que está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
/software/ livre. Favor entrar em contato em caso de dúvida.

Other urls found in this thread:

github.com/rg3/youtube-dl/blob/master/youtube_dl/jsinterp.py
youtube.com/watch?v=UxxajLWwzqY
youtube.com/static?template=terms
twitter.com/AnonBabble

TL;DR

youtube-dl executes random nonfree-js from the internet

it's not random

what makes it non-random?

Youtube-dl runs non-free JavaScript code to work.

Here is the class this beaner complains about.
github.com/rg3/youtube-dl/blob/master/youtube_dl/jsinterp.py
It's not a complete JS interpreter, just a parser to extract some values from code.
It can interpret only very simple functions. No access to I/O, network and so on.
It appears that this parser is deliberately written to handle only trivial code.

...

So? In terms of this kind of scenario that's to be expected.

I'm not sure if parsing the code this way even qualify as "executing".
This parser can't even handle if/else. It won't be possible to do fizzbuzz with it.
And since the code is trivial it's neither free or non-free, it's just to fucking elementary to license.

...

Ebin reply :DDD

(You)
his point literally is that it isnt executing the whole script but only parts of it.

lurk more

(You)
fucking kys yourself

(((Adonay)))

Ahahahah yt-dl fags BTFO again

Flashgot still going strong

what fucking autisms

freedom = not being able to do anything?

Are you mentally ill? He's saying the class PARSES it. Note the fucking emphasis.
PARSES. DOES NOT EXECUTE.

parsing nonfree code inpedes my freedom to be unable to download a video I want

Kind of curious what js code gets put into this "interpreter", anyone want to add a print and see?

Technically it can execute some very simple chunks of code.
I dare the other guy to run any malicious program with it, FizzBuzz will count.
% PYTHONPATH=. python3Python 3.4.2 (default, Oct 8 2014, 10:45:20)[GCC 4.9.1] on linuxType "help", "copyright", "credits" or "license" for more information.>>> from youtube_dl.jsinterp import *>>> js = JSInterpreter("function foo(x) { return x + x }")>>> f = js.extract_function("foo")>>> f([10])20

In order to let LibreJS know whether it should execute a script or not, it must first parse the code to determine whether it's trivial enough not to consider it an actual script, or to know whether it is libre or not.

I call it Schrodinger's license.

/thread

JSInterpreter is used only by youtube extractor and only for videos with "signatures", no idea what those are. It parses a shit load of unreadable compressed javascript. The extracted code seems to concatenate elements of some array into some kind of string.

Here is example of such videobb
youtube.com/watch?v=UxxajLWwzqY (beware degenerate content)

but it does execute. prove me wrong faggot

See retard

>>>/reddit/

that just proves me right

kys

...

>>>/oven/

...

that is the joke. good job retard

HEY! THIS IS A NO BULLY ZONE! BACK OFF!!1!

3d > 2d

...

NICE MEME

t-t-take that back

We have the freedom to not give a fuck what you think.

>>>/cuckshed/

so, are you therefore saying that RMS advocated the use of non-free software?

ddd > dd

Download YouTube Videos as MP4
Plugin at mozilla is OSS.
Checkmate, OP

is the script running on my machine?

make sure you don't decode that mp4 through your gpu with non-free firmware blobs or through your cpu non-free microcode

it's done in a restricted sandbox, isn't it?
also

that's horseshit, the only "free" video format that's implemented there right now is VP9 and it's horrible. Shit performance, but the quality is barely higher than with x264.
And what's nonfree about H.264? It's an open standard, and free decoders do exist.

OMG WHO CAREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEZ?????

GO OUTSIDE AND STOP TALKING ABOUT MEANINGLESS NONSENSE

DOWNLOADING YOUTUBE VIDEOS IS NOT PERMITTED!
/thread

youtube.com/static?template=terms
5.1/L

how would that make it ethical? protip: it doesn't

lurk more newfriend

i'm not a newfriend, you wANkEr

Why are you so fucking stupid?

It has been pointed several times in this thread, no real execution happens.
This 250 SLOC parser is not Turing complete, you aren't able to run arbitrary JavaScript code with it.
It is used only by youtube extractor and affects only videos with "signatures" which are hard to find. (it seems YouTube doesn't use this stuff for never videos).
As suggested you have to show any malicious application of this parser to have an argument.
Pro tip: you won't because you are stupid.

typical kike tactics

Yes but they can't do jack shit about it can they?
Thinking about it, it all has to go fucking somewhere in some medium so the person who actually wrote that is an absolute idiot. Literally no one follows the rule anyway.

dont mean anything

chill out nigga,

you are entirely correct which means you don't have to be such a lil bitch.

but he is wrong

does flashgot even support youtube downloading? that's a commercial product, so I'd be surprised.


I see this "signature" crap all the time. Depends what you're watching. Maybe it was when I was getting music/music videos.

>>>/reddit/

Welcome to the Botnet.
Seriously though, why would anyone watch YouTube videos in 2017?
Torrent it.
Torrent them.
kys

ebin

The future here.
To avoid ending up in a sjw-tribunal, use your browser of choice in a VM. that is all.