ubuntuusers.de

Youtube-dl Downloadproblem Error

Status: Gelöst | Ubuntu-Version: Kubuntu 18.04 (Bionic Beaver)
Antworten |

Jepure

Anmeldungsdatum:
16. September 2018

Beiträge: 131

In vielen Fällen funktioniert das Programm einwandfrei.

Bei gewissen Videos bekomme ich aber einen Error, weis jemand Rat wie man auch diese Videos downloaden kann?

Die Ausgabe ist wie folgt:

youtube] JE_h0xipe9E: Downloading webpage
[youtube] JE_h0xipe9E: Downloading video info webpage
[youtube] JE_h0xipe9E: Extracting video information
[youtube] JE_h0xipe9E: Downloading js player vfl-jbnrr
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1191, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1102, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1163, in _parse_sig_js
    jscode, 'Initial JS player signature function name', group='sig')
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 796, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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.',)); 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.

oder gibt es da ein besseres Programm dazu?

Besten Dank

Bearbeitet von ChickenLipsRfun2eat:

Aus dem Spamfilter gefischt: Bitte halte dich an die Forensyntax und verwende für Terminalausgaben den Codeblock!

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55381

Wohnort: Berlin

Was für eine Version verwendest du denn? Die aus den Quellen ist ja eher ... äh ... gut abgehangen.

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Zeige mal

youtube-dl -v

und

sudo youtube-dl -U

apt policy youtube-dl

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55381

Wohnort: Berlin

Kellerkind_2009 schrieb:

Zeige mal ...

sudo youtube-dl -U

Das ist im Paket aus den offiziellen Paketquellen per Patch abgeklemmt. 😇

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

tomtomtom schrieb:

Kellerkind_2009 schrieb:

Zeige mal ...

sudo youtube-dl -U

Das ist im Paket aus den offiziellen Paketquellen per Patch abgeklemmt. 😇

Na ja-- nicht immer 😉

stephan@stephan-Desktop:~$ sudo youtube-dl -U
[sudo] Passwort für stephan: 
Updating to version 2019.01.17 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
stephan@stephan-Desktop:~$ 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

@ tomtomtomUnd wie immer hast du Recht.... wenn es um "Offiziell" geht 😬

stephan@stephan-Desktop:~$ apt policy youtube-dl
youtube-dl:
  Installiert:           2018.07.04-dmo1
  Installationskandidat: 2018.07.04-dmo1
  Versionstabelle:
 *** 2018.07.04-dmo1 100
        100 /var/lib/dpkg/status
     2016.02.22-1 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
stephan@stephan-Desktop:~$ 

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55381

Wohnort: Berlin

Kellerkind_2009 schrieb:

Na ja-- nicht immer 😉

Ich bau das Paket selber, ich weiß welche Patches im *.debian.tar.xz liegen. 😛

Außerdem wäre mir keine Distribution bekannt, die das in einem selbst angebotenen Paket drin lassen würde, das läuft schließlich gegen das Prinzip der Paketverwaltung.

Selbst hier™ kommt bei

youtube-dl -U 

der praktische Hinweis

It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Ich wusste auch in etwa welche Antwort von dir kommt 😬 Ja .. wenn man sich etwas damit befasst ist ein Linux System schon was feines ☺

Wahrscheinlich ist mein System auch nicht ganz "Normal" 😉

Dogeater

Anmeldungsdatum:
16. Juni 2015

Beiträge: 3381

Zurück zum Thema. Wenn youtube-dl und python auf aktuellstem Stand ist, dann bleiben nur noch zwei Probleme übrig.

Erstens: Ich bin ein Star - Holt mich hier raus ist nicht mehr downloadbar von tvnow.de wie letztes Jahr. :p

Zweitens, das Übliche:

[burni@F30 youtube-dl]$ youtube-dl https://www.youtube.com/watch?v=KhIaZhqul38
[youtube] KhIaZhqul38: Downloading webpage
[youtube] KhIaZhqul38: Downloading video info webpage
[youtube] KhIaZhqul38: Downloading js player vfl-jbnrr
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1226, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1134, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1201, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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.
 (caused by ExtractorError("Could not find JS function 'encodeURIComponent'; 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.")); 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.
[burni@F30 youtube-dl]$ 

Beide Probleme kommen erst, und zwar nur sporadisch, wenn du, Jepure auf dem aktuellen Stand bist. Bei mir ist es zurzeit die Version 2018.12.17. Bei deinem Video kommt hier auch nur "Could not find JS function 'encodeURIComponent'" heraus. Da muss man noch ein bisschen warten, es wird (wie immer) auch bald wieder gehen.

Jepure

(Themenstarter)

Anmeldungsdatum:
16. September 2018

Beiträge: 131

also die Ausgabe

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
iepure@iepure-Latitude-5591:~$ youtube-dl -v

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.14
[debug] Python version 3.6.7 (CPython) - Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu0.18.04.1, ffprobe 3.4.4-0ubuntu0.18.04.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
1
2
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
1
2
3
4
5
6
7
8
iepure@iepure-Latitude-5591:~$ sudo youtube-dl -U

[sudo] Passwort für iepure: 
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: youtube-dl's self-update mechanism is disabled on Debian.
Please update youtube-dl using apt(8).
See https://packages.debian.org/sid/youtube-dl for the latest packaged version.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
iepure@iepure-Latitude-5591:~$ apt policy youtube-dl

youtube-dl:
  Installiert:           2018.03.14-1
  Installationskandidat: 2018.03.14-1
  Versionstabelle:
 *** 2018.03.14-1 500
        500 http://ch.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://ch.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

Bearbeitet von Cruiz:

Bitte verwende in Zukunft Codeblöcke, um die Übersicht im Forum zu verbessern!

umbhaki Team-Icon

Supporter
Avatar von umbhaki

Anmeldungsdatum:
30. Mai 2010

Beiträge: 2596

Wohnort: Düren/Rhld

youtube-dl: Installiert: 2018.03.14-1 Installationskandidat: 2018.03.14-1

Es ist recht bekannt, dass man mit der Youtube-dl-Version aus den Paketquellen recht bald gegen die Wand läuft. Abhilfe: Die Version aus den Paketquellen deinstallieren und die Originalversion benutzen. Die lässt sich immer wieder aktualisieren.

Wie das geht, steht beispielsweise hier.

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55381

Wohnort: Berlin

Dogeater schrieb:

Bei mir ist es zurzeit die Version 2018.12.17. Bei deinem Video kommt hier auch nur "Could not find JS function 'encodeURIComponent'" heraus. Da muss man noch ein bisschen warten, es wird (wie immer) auch bald wieder gehen.

Naja, bei der Version aus den offiziellen Paketquellen hilft warten nichts. Das Video, das der TE nicht holen konnte, kann mit der aktuellen Version jedenfalls geholt werden.

[~]$ youtube-dl https://www.youtube.com/watch?v=JE_h0xipe9E
[youtube] JE_h0xipe9E: Downloading webpage
[youtube] JE_h0xipe9E: Downloading video info webpage
[youtube] JE_h0xipe9E: Downloading js player vfl-jbnrr
[youtube] JE_h0xipe9E: Downloading js player vfl-jbnrr
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Samy Deluxe - Flagge hissen _ Anker lichten (SaMTV Unplugged)-JE_h0xipe9E.f137.mp4
[download] 100% of 49.70MiB in 00:05
[download] Destination: Samy Deluxe - Flagge hissen _ Anker lichten (SaMTV Unplugged)-JE_h0xipe9E.f251.webm
[download] 100% of 4.45MiB in 00:00
[ffmpeg] Merging formats into "Samy Deluxe - Flagge hissen _ Anker lichten (SaMTV Unplugged)-JE_h0xipe9E.mkv"
Deleting original file Samy Deluxe - Flagge hissen _ Anker lichten (SaMTV Unplugged)-JE_h0xipe9E.f137.mp4 (pass -k to keep)
Deleting original file Samy Deluxe - Flagge hissen _ Anker lichten (SaMTV Unplugged)-JE_h0xipe9E.f251.webm (pass -k to keep)
[~]$ youtube-dl --version
2019.01.17
[~]$

Jepure

(Themenstarter)

Anmeldungsdatum:
16. September 2018

Beiträge: 131

und wie kann ich die neuste Version installieren, damit es wieder funktioniert?

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55381

Wohnort: Berlin

Jepure schrieb:

und wie kann ich die neuste Version installieren, damit es wieder funktioniert?

Es würde sich empfehlen die Antworten hier zu lesen...

umbhaki schrieb:

Abhilfe: Die Version aus den Paketquellen deinstallieren und die Originalversion benutzen. Die lässt sich immer wieder aktualisieren.

Wie das geht, steht beispielsweise hier.

Im Wikiartikel youtube-dl steht es natürlich auch.

Jepure

(Themenstarter)

Anmeldungsdatum:
16. September 2018

Beiträge: 131

Funktioniert wieder,

besten Dank für die schnelle Hilfe.

Jepure

Antworten |