News:

Scarica subito LibreOffice 24.2 ancora più compatibile con la nota suite per ufficio commerciale.

Menu principale

[RISOLTO] youtube-dl non scarica

Aperto da ubunjac, Sabato 25 Gennaio 2020, 15:16:24

Discussione precedente - Discussione successiva

ubunjac

Ciao a tutti,

da un po' di tempo non riesco a scaricare files con youtube-dl.
Spesso, ma non sempre, arriva questo messaggio d'errore:

~$ youtube-dl -F https://music.youtube.com/playlist?list=OLAK5uy_kurhGPJRw_SIJgE8e2gwLzxjN8QaDBIMo
[youtube:playlist] OLAK5uy_kurhGPJRw_SIJgE8e2gwLzxjN8QaDBIMo: Downloading webpage
[download] Downloading playlist: Horowitz Plays Liszt
[youtube:playlist] playlist Horowitz Plays Liszt: Downloading 33 videos
[download] Downloading video 1 of 33
[youtube] s8R2Ebh4GZo: Downloading webpage
[youtube] s8R2Ebh4GZo: Downloading video info webpage
[youtube] s8R2Ebh4GZo: Downloading js player vfl7lL1_p
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1380, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1293, in _extract_signature_function
    cache_res = res(test_string)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1356, in <lambda>
    return lambda s: initial_function([s])
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 258, in resf
    res, abort = self.interpret_statement(stmt, local_vars)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 92, in interpret_expression
    m.group('expr'), local_vars, allow_recursion - 1)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 189, in interpret_expression
    m.group('x'), local_vars, allow_recursion - 1)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 189, in interpret_expression
    m.group('x'), local_vars, allow_recursion - 1)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 211, in interpret_expression
    raise ExtractorError('Unsupported JS expression %r' % expr)
ExtractorError: Unsupported JS expression u'[function(c,d){d=(d'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Unsupported JS expression u'[function(c,d){d=(d'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.



Qualcuno ha un'idea?
Grazie mille in anticipo.  :ciao:

Tony

Sto avendo lo stesso problema con un'applicazione sullo smartphone.
Forse YouTube ha cambiato qualcosina.
È accaduto anche in passato ed è bastato attendere l'aggiornamento dell'applicazione.
Quindi, controlla, innanzitutto, se hai l'ultima versione del programma, sperando che lo abbiano aggiornato di fresco.

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

Josh

Confermo che basta aggiornare il programma per risolvere il problema
sudo youtube-dl -U --verbose
"Sii un uomo migliore di tuo padre"

ubunjac

Grazie mille. Fatto l'aggiornamento consigliato da Josh e funziona tutto. :ok: :ciao