FS#1378 - [hypervideo] stop the development of Hypervideo
Description:
I used to be under the
impression that youtube-dl executes proprietary JavaScript, but I now
understand that it only *parses* the JavaScript to find the URL for some
videos. It doesn’t actually run the JavaScript, so it’s not a freedom
issue.
Youtube-dl only executes regular expressions [0][1][2]
you also remove the files that are just for testing [3][4][5][6][7]
and when compiling the program with libretools the test files are not placed[8]
I have consulted with other programmers and we have reached the same conclusion. Youtube-dl does not execute JS non-free, it only extracts the JS to read through python the URL‘s of some videos.[9][10]
The issues that I see with youtube-dl are rather in their form of development because it changes at every moment
Additional info:
- [0]: https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/jsinterp.py#L12
- [1]: https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/jsinterp.py#L132
- [2]: https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/swfinterp.py#L391
- [3]: https://github.com/ytdl-org/youtube-dl/tree/master/test/swftests/
- [4]: https://github.com/ytdl-org/youtube-dl/blob/master/test/test_iqiyi_sdk_interpreter.py
- [5]: https://github.com/ytdl-org/youtube-dl/blob/master/test/test_jsinterp.py
- [6]: https://github.com/ytdl-org/youtube-dl/blob/master/test/test_swfinterp.py
- [7]: https://github.com/ytdl-org/youtube-dl/blob/master/test/test_youtube_signature.py
- [8]:
$ tree -d
. ├── bin ├── lib │ └── python3.6 │ └── site-packages │ ├── youtube_dl │ │ ├── downloader │ │ │ └── __pycache__ │ │ ├── extractor │ │ │ └── __pycache__ │ │ ├── postprocessor │ │ │ └── __pycache__ │ │ └── __pycache__ │ └── youtube_dl-2019.5.11-py3.6.egg-info └── share ├── bash-completion │ └── completions ├── doc │ └── youtube_dl ├── fish │ └── completions ├── licenses │ └── youtube-dl ├── man │ └── man1 └── zsh └── site-functions 26 directories
- [9]: https://directory.fsf.org/wiki/Youtube-dl - [10]: https://github.com/fent/node-ytdl-core/issues/222
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
This has been discussed before and is a WONTFIX.
We are patching youtube-dl to completely remove the JSInterpreter (which interprets raw byte code) as well as SWF decoding. You can see the removal here:
https://git.hyperbola.info:50100/software/hypervideo.git/commit/?id=6b0a4b08bf3621757de6b0bc435ac0685bd9abe2
In addition to this, we remove support for iQiyi which has a non-free SDK and API.
https://git.hyperbola.info:50100/software/hypervideo.git/commit/?id=6b0a4b08bf3621757de6b0bc435ac0685bd9abe2
Both patches were inherited from avideo and were ported to hypervideo. The frequent updates are not an issue for us as we are an LTS distro and backport on a stable and regular basis, not nightly.