YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
1–10 of 166 posts
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#2Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#3What purpose does it serve?
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#4What purpose does it serve?
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#5What purpose does it serve?
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#6What purpose does it serve?
Edit: it's also required to download music, otherwise it will just fail
Source:
- https://github.com/ytdl-org/youtube-dl/issues/29326#issuecom...
- https://github.com/ytdl-org/youtube-dl/blob/d619dd712f63aab1...
- https://github.com/ytdl-org/youtube-dl/commit/cf001636600430...
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#7What purpose does it serve?
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#8What purpose does it serve?
I believe YouTube limits your bitrate if you don't pass a specific calculated value; it's possible youtube-dl has to parse and eval JS to get it.
Re: YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python
#9What purpose does it serve?
It's used in the YouTube extractor: https://github.com/ytdl-org/youtube-dl/blob/d619dd712f63aab1... I believe YouTube limits your bitrate if you don't pass a specific calculated value; it's possible youtube-dl has to parse and eval JS to get it.
It's starting to become Widevine bullshit all over again.