Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  Wczoraj 11:49:23

  Karoll - Użytkownik

Karoll
Użytkownik
Zarejestrowany: 2019-08-12

SOLVED yt-dlp nie dziala

Od  dlugiego czasu nie moge korzystac z yt-dlp poniewaz wyrzuca rozne bledy:

Kod:

yt-dlp https://www.youtube.com/watch?v=xFrGuyw1V8s
[youtube] Extracting URL: https://www.youtube.com/watch?v=xFrGuyw1V8s
[youtube] xFrGuyw1V8s: Downloading webpage
[youtube] xFrGuyw1V8s: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] xFrGuyw1V8s: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] xFrGuyw1V8s: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] xFrGuyw1V8s: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); 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
[youtube] xFrGuyw1V8s: Downloading player 6e1dd460
WARNING: [youtube] xFrGuyw1V8s: Signature extraction failed: Some formats may be missing
WARNING: Only images are available for download. use --list-formats to see them
ERROR: [youtube] xFrGuyw1V8s: Requested format is not available. Use --list-formats for a list of available formats

Formaty tak wygladaja:

Kod:

yt-dlp -Fv https://www.youtube.com/watch?v=PXYgGxS8wGM 
[debug] Command-line config: ['-Fv', 'https://www.youtube.com/watch?v=PXYgGxS8wGM']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d] (debian*)
[debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.0-25-amd64-x86_64-with-glibc2.36 (OpenSSL 3.0.14 4 Jun 2024, glibc 2.36)
[debug] exe versions: ffmpeg 5.1.6-0 (setts), ffprobe 5.1.6-0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, pyxattr-0.8.1, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=PXYgGxS8wGM
[youtube] PXYgGxS8wGM: Downloading webpage
[youtube] PXYgGxS8wGM: Downloading android player API JSON
WARNING: [youtube] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (1/3)...
[youtube] PXYgGxS8wGM: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] PXYgGxS8wGM: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] PXYgGxS8wGM: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); 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
[debug] [youtube] Extracting signature function js_dd017f77_109
[youtube] PXYgGxS8wGM: Downloading player dd017f77
WARNING: [youtube] PXYgGxS8wGM: Signature extraction failed: Some formats may be missing
[debug] [youtube] Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2997, in inner
    self._player_cache[cache_id] = func(*args, **kwargs)
                                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2920, in _extract_signature_function
    res = self._parse_sig_js(code)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2990, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 813, in extract_function
    self.extract_function_from_code(*self.extract_function_code(funcname)),
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/jsinterp.py", line 806, in extract_function_code
    code, _ = self._separate_at_paren(func_m.group('code'))
                                      ^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
 (caused by AttributeError("'NoneType' object has no attribute 'group'")); 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
[debug] [youtube] Extracting signature function js_dd017f77_105
WARNING: Only images are available for download. use --list-formats to see them
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] Available formats for PXYgGxS8wGM:
ID  EXT   RESOLUTION FPS │ PROTO │ VCODEC MORE INFO
────────────────────────────────────────────────────
sb3 mhtml 48x27        0 │ mhtml │ images storyboard
sb2 mhtml 80x45        0 │ mhtml │ images storyboard
sb1 mhtml 160x90       0 │ mhtml │ images storyboard
sb0 mhtml 320x180      0 │ mhtml │ images storyboard

W internecie nie znalazlem rozwiazania.

Ostatnio edytowany przez Karoll (Wczoraj 16:06:07)


Tolerancja i apatia, to ostatnie cnoty umierającego społeczeństwa.
Gdy wiesz o wszystkim, co robi twoj rzad – to jest demokracja.
Gdy rzad wie wszystko o tobie – to jest tyrania !

Offline

 

#2  Wczoraj 12:39:20

  arturek - Członek DUG

arturek
Członek DUG
Zarejestrowany: 2006-08-19

Re: SOLVED yt-dlp nie dziala

jest jakiś problem wersja z Debiana stable zainstaluj z stable-backports podobno działa bez problemu

yt-dlp 2025.01.12-1~bpo12+1


problem jest znany i zgłoszony znalazłem to w minutę
yt-dlp returns 403 when downloading a video from youtube on bookworm. Version from backports work correctly
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049401

u mnie w Trixie jest yt-dlp 2025.01.12-1, działa bez problemu

Ostatnio edytowany przez arturek (Wczoraj 12:52:48)


Debian “trixie” Xfce

Offline

 

#3  Wczoraj 14:19:13

  Karoll - Użytkownik

Karoll
Użytkownik
Zarejestrowany: 2019-08-12

Re: SOLVED yt-dlp nie dziala

@arturek.

Kod:

uname -a
Linux debian 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux

Kod:

dpkg -l | grep yt-dlp
ii  youtubedl-gui                         3.0-2                                amd64        GUI on yt-dlp (ie, youtube-dl) to download videos from a variety of sites
ii  yt-dlp                                2025.01.12-1~bpo12+1                 all          downloader of videos from YouTube and other sites

Pomogles, dziala !
DZIEKUJE.

Ostatnio edytowany przez Karoll (Wczoraj 16:03:30)


Tolerancja i apatia, to ostatnie cnoty umierającego społeczeństwa.
Gdy wiesz o wszystkim, co robi twoj rzad – to jest demokracja.
Gdy rzad wie wszystko o tobie – to jest tyrania !

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)