ubuntuusers.de

Wird youtube-dl inzwischen unterbunden?

Status: Gelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

Forumsnutzer

Anmeldungsdatum:
10. April 2021

Beiträge: 80

Hallo,

das gute alte youtube-dl taugt nichts mehr. Wenn ich ein x-beliebiges Youtube-Video herunterladen möchte, bspw. mittels

youtube-dl -f bestvideo[ext=mp4]+bestaudio[ext=m4a]

erscheint diese Fehlermeldung:

WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org

Ich habe mir sogar extra die aktuellste Version aus den PPA auf einer VM installiert, wie hier angegeben. Aber auch darin funktioniert es nicht.
Ist Youtube etwa besser darin geworden, solche privaten Sicherheitskopien zu unterbinden?

Beste Grüße
Forumsnutzer

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55210

Wohnort: Berlin

Forumsnutzer schrieb:

Ich habe mir sogar extra die aktuellste Version aus den PPA auf einer VM installiert, wie hier angegeben. Aber auch darin funktioniert es nicht.

Funktioniert reproduzierbar bei "x-beliebigen Youtube-Videos".

[tomx3@tomtomtom ~]$ youtube-dl https://www.youtube.com/watch?v=cvRmIApSIoU
[youtube] cvRmIApSIoU: Downloading webpage
[youtube] cvRmIApSIoU: Downloading API JSON
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1679, in _n_descramble
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1644, in _extract_n_function
    player_id = self._extract_player_info(player_url)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1476, in _extract_player_info
    id_m = re.search(player_re, player_url)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 176, in search
    return _compile(pattern, flags).search(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
)
[youtube] cvRmIApSIoU: Downloading API JSON
[dashsegments] Total fragments: 30
[download] Destination: [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023-cvRmIApSIoU.f308.webm
[download]   0.6% of ~300.00MiB at 79.66KiB/s ETA 01:03:52

Geht, ist aber quälend langsam. Also mal abgebrochen und mit dem Fork yt-dlp probiert.

[tomx3@tomtomtom ~]$ yt-dlp https://www.youtube.com/watch?v=cvRmIApSIoU
[youtube] Extracting URL: https://www.youtube.com/watch?v=cvRmIApSIoU
[youtube] cvRmIApSIoU: Downloading webpage
[youtube] cvRmIApSIoU: Downloading ios player API JSON
[youtube] cvRmIApSIoU: Downloading android player API JSON
[youtube] cvRmIApSIoU: Downloading player 5bdfe6d5
[youtube] cvRmIApSIoU: Downloading m3u8 information
[info] cvRmIApSIoU: Downloading 1 format(s): 308+251
[download] Destination: [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023 [cvRmIApSIoU].f308.webm
[download] 100% of  298.27MiB in 00:01:10 at 4.21MiB/s
[download] Destination: [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023 [cvRmIApSIoU].f251.webm
[download] 100% of    4.51MiB in 00:00:01 at 3.39MiB/s
[Merger] Merging formats into "[Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023 [cvRmIApSIoU].webm"
Deleting original file [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023 [cvRmIApSIoU].f251.webm (pass -k to keep)
Deleting original file [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023 [cvRmIApSIoU].f308.webm (pass -k to keep)
[tomx3@tomtomtom ~]$

Hast du direkt aus dem PPA installiert oder vorher eine andere Methode ausprobiert? Wenn da noch ein manuell installiertes youtube-dl liegt könnte das genutzt worden sein.

Was zeigt denn

which youtube-dl

an?

Forumsnutzer

(Themenstarter)

Anmeldungsdatum:
10. April 2021

Beiträge: 80

tomtomtom schrieb:

Hast du direkt aus dem PPA installiert oder vorher eine andere Methode ausprobiert? Wenn da noch ein manuell installiertes youtube-dl liegt könnte das genutzt worden sein.

Ist das nicht vorinstalliert? Ich hatte daraufhin die Addresszeile für das PPA ergänzt.

Was zeigt denn

which youtube-dl

an?

Das zeigt an:

/usr/bin/youtube-dl

(mit und ohne PPA)

koelner

Avatar von koelner

Anmeldungsdatum:
22. Juni 2006

Beiträge: 307

Wohnort: Zweibrücken

Forumsnutzer schrieb:

das gute alte youtube-dl taugt nichts mehr. Wenn ich ein x-beliebiges Youtube-Video herunterladen möchte, bspw. mittels

Versuch es mal mit yt-dlp. Hier das Ergebnis:

yt-dlp -f "bestaudio[ext=m4a]/best"  -o "%(title)s.%(ext)s"  'https://www.youtube.com/watch?v=cvRmIApSIoU~'                                                                                  127 ✘ 
[youtube] Extracting URL: https://www.youtube.com/watch?v=cvRmIApSIoU~
[youtube] cvRmIApSIoU: Downloading webpage
[youtube] cvRmIApSIoU: Downloading ios player API JSON
[youtube] cvRmIApSIoU: Downloading android player API JSON
[youtube] cvRmIApSIoU: Downloading player 5bdfe6d5
[youtube] cvRmIApSIoU: Downloading m3u8 information
[info] cvRmIApSIoU: Downloading 1 format(s): 140
[download] Destination: [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023.m4a
[download] 100% of    3.98MiB in 00:00:00 at 17.23MiB/s
[FixupM4a] Correcting container of "[Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023.m4a"

Forumsnutzer

(Themenstarter)

Anmeldungsdatum:
10. April 2021

Beiträge: 80

koelner schrieb:

Forumsnutzer schrieb:

das gute alte youtube-dl taugt nichts mehr. Wenn ich ein x-beliebiges Youtube-Video herunterladen möchte, bspw. mittels

Versuch es mal mit yt-dlp. Hier das Ergebnis:

yt-dlp -f "bestaudio[ext=m4a]/best"  -o "%(title)s.%(ext)s"  'https://www.youtube.com/watch?v=cvRmIApSIoU~'                                                                                  127 ✘ 
[youtube] Extracting URL: https://www.youtube.com/watch?v=cvRmIApSIoU~
[youtube] cvRmIApSIoU: Downloading webpage
[youtube] cvRmIApSIoU: Downloading ios player API JSON
[youtube] cvRmIApSIoU: Downloading android player API JSON
[youtube] cvRmIApSIoU: Downloading player 5bdfe6d5
[youtube] cvRmIApSIoU: Downloading m3u8 information
[info] cvRmIApSIoU: Downloading 1 format(s): 140
[download] Destination: [Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023.m4a
[download] 100% of    3.98MiB in 00:00:00 at 17.23MiB/s
[FixupM4a] Correcting container of "[Szczecin] SKM w budowie - Turzyn i Pogodno - koniec października 2023.m4a"

Hmm.. Also bei mir lautet das Ergebnis:

:~$ yt-dlp -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=8ad9vAG7k3Q
[youtube] 8ad9vAG7k3Q: Downloading webpage
[youtube] 8ad9vAG7k3Q: Downloading android player API JSON
[youtube] 8ad9vAG7k3Q: Downloading iframe API JS
[youtube] 8ad9vAG7k3Q: Downloading player 5bdfe6d5
[youtube] 8ad9vAG7k3Q: Downloading web player API JSON
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = i-fRRPrqBkPqHD42 ; player = https://www.youtube.com/s/player/5bdfe6d5/player_ias.vflset/en_US/base.js
8ad9vAG7k3Q: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2519, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2551, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 536, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 277, in interpret_expression
    right_val = self.interpret_expression(m.group('expr'), local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 326, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 330, in interpret_expression
    right_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 334, in interpret_expression
    return opfunc(left_val or 0, right_val)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
 (caused by TypeError("unsupported operand type(s) for /: 'int' and 'NoneType'")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = wjz87fbe0DKG1VSH ; player = https://www.youtube.com/s/player/5bdfe6d5/player_ias.vflset/en_US/base.js
8ad9vAG7k3Q: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2519, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2551, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 536, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 277, in interpret_expression
    right_val = self.interpret_expression(m.group('expr'), local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 326, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 330, in interpret_expression
    right_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 334, in interpret_expression
    return opfunc(left_val or 0, right_val)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
 (caused by TypeError("unsupported operand type(s) for /: 'int' and 'NoneType'")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [youtube] 8ad9vAG7k3Q: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

koelner

Avatar von koelner

Anmeldungsdatum:
22. Juni 2006

Beiträge: 307

Wohnort: Zweibrücken

Hallo

beachte:

yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" 'https://www.youtube.com/watch?v=8ad9vAG7k3Q'

und nicht

yt-dlp -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=8ad9vAG7k3Q

Gruß koelner

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55210

Wohnort: Berlin

Forumsnutzer schrieb:

Ist das nicht vorinstalliert?

Nein.

Ich hatte daraufhin die Addresszeile für das PPA ergänzt.

Und auch daraus installiert?

apt-cache policy youtube-dl

Forumsnutzer

(Themenstarter)

Anmeldungsdatum:
10. April 2021

Beiträge: 80

Hallo,

koelner schrieb:

beachte:

yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" 'https://www.youtube.com/watch?v=8ad9vAG7k3Q'

und nicht

yt-dlp -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=8ad9vAG7k3Q

Gruß koelner

Die Anführungszeichen haben leider nichts verändert:

:~$ yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" https://www.youtube.com/watch?v=8ad9vAG7k3Q
[youtube] 8ad9vAG7k3Q: Downloading webpage
[youtube] 8ad9vAG7k3Q: Downloading android player API JSON
[youtube] 8ad9vAG7k3Q: Downloading iframe API JS
[youtube] 8ad9vAG7k3Q: Downloading player 5bdfe6d5
[youtube] 8ad9vAG7k3Q: Downloading web player API JSON
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = UA7Um_12jVnwgfal ; player = https://www.youtube.com/s/player/5bdfe6d5/player_ias.vflset/en_US/base.js
8ad9vAG7k3Q: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2519, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2551, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 536, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 277, in interpret_expression
    right_val = self.interpret_expression(m.group('expr'), local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 326, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 330, in interpret_expression
    right_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 334, in interpret_expression
    return opfunc(left_val or 0, right_val)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
 (caused by TypeError("unsupported operand type(s) for /: 'int' and 'NoneType'")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = _LZboYuSTCA-__dz ; player = https://www.youtube.com/s/player/5bdfe6d5/player_ias.vflset/en_US/base.js
8ad9vAG7k3Q: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2519, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2551, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 536, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 277, in interpret_expression
    right_val = self.interpret_expression(m.group('expr'), local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 326, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 330, in interpret_expression
    right_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 334, in interpret_expression
    return opfunc(left_val or 0, right_val)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
 (caused by TypeError("unsupported operand type(s) for /: 'int' and 'NoneType'")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [youtube] 8ad9vAG7k3Q: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
michael@michael-HP-EliteBook-840-G1:~$ yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" https://www.youtube.com/watch?v=8ad9vAG7k3Q
[youtube] 8ad9vAG7k3Q: Downloading webpage
[youtube] 8ad9vAG7k3Q: Downloading android player API JSON
[youtube] 8ad9vAG7k3Q: Downloading iframe API JS
[youtube] 8ad9vAG7k3Q: Downloading player 5bdfe6d5
[youtube] 8ad9vAG7k3Q: Downloading web player API JSON
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = 3TKr9plwrDqmAQgG ; player = https://www.youtube.com/s/player/5bdfe6d5/player_ias.vflset/en_US/base.js
8ad9vAG7k3Q: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2519, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2551, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 536, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 277, in interpret_expression
    right_val = self.interpret_expression(m.group('expr'), local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 326, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 330, in interpret_expression
    right_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 334, in interpret_expression
    return opfunc(left_val or 0, right_val)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
 (caused by TypeError("unsupported operand type(s) for /: 'int' and 'NoneType'")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = pmdQ5m8yFGIZGz7H ; player = https://www.youtube.com/s/player/5bdfe6d5/player_ias.vflset/en_US/base.js
8ad9vAG7k3Q: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2519, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2551, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 536, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 277, in interpret_expression
    right_val = self.interpret_expression(m.group('expr'), local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 326, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 330, in interpret_expression
    right_val, should_abort = self.interpret_statement(
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 145, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 171, in interpret_expression
    name = self._named_object(local_vars, [
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 172, in <listcomp>
    self.interpret_expression(item, local_vars, allow_recursion)
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 334, in interpret_expression
    return opfunc(left_val or 0, right_val)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
 (caused by TypeError("unsupported operand type(s) for /: 'int' and 'NoneType'")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [youtube] 8ad9vAG7k3Q: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

tomtomtom schrieb:

Forumsnutzer schrieb:

Ist das nicht vorinstalliert?

Nein.

Ich hatte daraufhin die Addresszeile für das PPA ergänzt.

Und auch daraus installiert?

apt-cache policy youtube-dl

Ja:

youtube-dl:
  Installiert:           2021.12.17+git-r288.g00ef748cc-1~ppa~jammy
  Installationskandidat: 2021.12.17+git-r288.g00ef748cc-1~ppa~jammy
  Versionstabelle:
 *** 2021.12.17+git-r288.g00ef748cc-1~ppa~jammy 500
        500 https://ppa.launchpadcontent.net/tomtomtom/youtube-dl/ubuntu jammy/main amd64 Packages
        500 https://ppa.launchpadcontent.net/tomtomtom/youtube-dl/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status
     2021.12.17-1 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe i386 Packages

:-/

koelner

Avatar von koelner

Anmeldungsdatum:
22. Juni 2006

Beiträge: 307

Wohnort: Zweibrücken

Forumsnutzer schrieb:

Die Anführungszeichen haben leider nichts verändert:

Die hast Du vergessen:

'https://www.youtube.com/watch?v=8ad9vAG7k3Q'

Forumsnutzer

(Themenstarter)

Anmeldungsdatum:
10. April 2021

Beiträge: 80

Ändert leider auch nichts. :-/

koelner

Avatar von koelner

Anmeldungsdatum:
22. Juni 2006

Beiträge: 307

Wohnort: Zweibrücken

Forumsnutzer schrieb:

Ändert leider auch nichts. :-/

Hast Du mal versucht die PPA von tomtom ( ppa:tomtomtom/yt-dlp) einzubinden und die Version zu installieren?

Forumsnutzer

(Themenstarter)

Anmeldungsdatum:
10. April 2021

Beiträge: 80

Danke!

Ja. Damit geht es nun. Aber wegen der Fremdquellen eben nur gekapselt in meiner VM. Das ist etwas umständlich, aber immerhin machbar. ☺

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55210

Wohnort: Berlin

Forumsnutzer schrieb:

Aber wegen der Fremdquellen eben nur gekapselt in meiner VM. Das ist etwas umständlich, aber immerhin machbar. ☺

Du kannst dir das auch direkt vom Hersteller oder via pip installieren, musst du dann halt auch selbst aktualisieren.

Und jetzt sag nicht der Hersteller ist eine Fremdquelle, das Paket in den Quellen wird schließlich aus seinem Quellcode gebaut. Nur halt nicht aktuell gehalten.

Forumsnutzer

(Themenstarter)

Anmeldungsdatum:
10. April 2021

Beiträge: 80

Danke - ich ziehe diese Option mal in Betracht!

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55210

Wohnort: Berlin

Inzwischen gibt es bei youtube-dl Git-Snapshot r289.gaaed4884e mit entsprendem Commit, damit sollte das auch wieder mit youtube-dl funktionieren.

Antworten |