Packages

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Stable
  • Assigned To
    tobias
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Medium
  • Priority Very Low
  • Reported Version None
  • Due in Version Milky Way v0.4
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by rachad - 17/02/2023
Last edited by tobias - 25/02/2023

FS#1613 - hypervideo have a bug now

$ hypervideo -F https://yewtu.be/watch?v=W5fFOECr3EI [youtube] W5fFOECr3EI: Downloading webpage
[youtube] W5fFOECr3EI: Downloading android player API JSON
[youtube] W5fFOECr3EI: Downloading player 11e3a4ec
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = iXmUjcWoU-JB5WlM ; player = https://www.youtube.com/s/player/11e3a4ec/player_ias.vflset/en_US/base.js W5fFOECr3EI: Traceback (most recent call last):

File "/usr/lib/python3.8/site-packages/hypervideo_dl/extractor/youtube.py", line 2519, in _decrypt_nsig
  self._player_cache[sig_id] = func(s)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/extractor/youtube.py", line 2551, in <lambda>
  return lambda s: jsi.extract_function_from_code(*func_code)([s])
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 536, in resf
  ret, should_abort = self.interpret_statement(stmt, var_stack)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 145, in interpret_statement
  v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 182, in interpret_expression
  ret, should_abort = self.interpret_statement(try_expr, local_vars, allow_recursion - 1)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 145, in interpret_statement
  v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 182, in interpret_expression
  ret, should_abort = self.interpret_statement(try_expr, local_vars, allow_recursion - 1)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 145, in interpret_statement
  v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 256, in interpret_expression
  self.interpret_expression(sub_expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 326, in interpret_expression
  left_val, should_abort = self.interpret_statement(
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 145, in interpret_statement
  v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 326, in interpret_expression
  left_val, should_abort = self.interpret_statement(
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 145, in interpret_statement
  v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 464, in interpret_expression
  raise ExtractorError('Unsupported JS expression %r' % expr)

hypervideo_dl.utils.ExtractorError: Unsupported JS expression ‘0⇐c[49]’; please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su
(caused by ExtractorError(”Unsupported JS expression ‘0⇐c[49]’; please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su”)); please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su
ERROR: [youtube] W5fFOECr3EI: Unable to extract uploader id; please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su

Closed by  tobias
25.02.2023 01:04
Reason for closing:  Fixed
Additional comments about closing:  

Package was removed in commit: https://git.hyperbola.inf o:50100/~team/packages/extra.git/commit/ ?h=throgh&id=f4db8ba3552ae7644f5da9b fbfbc2e0ff159160c

Will be also removed from the repositories!

I couldn't download YouTube videos using hypervideo, which seemed outdated and broken because of extraction issues causing the YouTube API changes. I hope heckyel will see this.

As heckyel is no longer supporting Hyperbola we have here a serious point, which was pointed out long ago and several times in talks without any kind of result. The point to solve this is complex, but the error itself is validated and therefore confirmed.

There are several options now:

- removing hypervideo and therefore also all references within other packages
- trying to fix the existing hypervideo (this is one option being looked at for the moment)
- trying to create a new soft fork from yt-dlp with renaming, including to compare the points towards hypervideo (another alternative option in discussion)

Personally I want to remind everyone that YouTube is and will stay a complete non-free service and platform. So a project on that size needs a maintainer foremost full-time. Whenever the interest is no longer there or time is not given, a problem arises. Therefore my personal option of choice is and stays the complete removal of hypervideo. Better we don't provide any kind of access towards platforms like YouTube. If there is further interest the choice is up to the users building own packages for their purpose. Hyperbola as project should not encourage the usage of non-free services at any point!

As far to say from the current point: The package hypervideo is going to be removed for sure as it has no real future. Meanwhile there is more research in the background if we can recreate a more lightweight commandline program only. But to state: All references towards hypervideo are already removed and the package itself also marked for removal.

Date User Effort (H:M)
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing