Skip to content

Instantly share code, notes, and snippets.

@Lesmiscore
Created January 22, 2022 18:03
Show Gist options
  • Save Lesmiscore/55de16a3a36fb07e9c3b7ff908cde5ec to your computer and use it in GitHub Desktop.
Save Lesmiscore/55de16a3a36fb07e9c3b7ff908cde5ec to your computer and use it in GitHub Desktop.
[debug] Command-line config: ['2BC39A882LE', '--check-formats', '--verbose', '--skip-download']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8 (No ANSI), err utf-8 (No ANSI), pref UTF-8
[debug] yt-dlp version 2022.01.21 [f20d607b0]
[debug] Python version 3.9.10 (CPython 64bit) - Linux-5.13.0-25-generic-x86_64-with-glibc2.34
[debug] exe versions: ffmpeg 4.4 (setts), ffprobe 4.4
[debug] Optional libraries: Crypto, sqlite
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: 2BC39A882LE
[youtube] 2BC39A882LE: Downloading webpage
[youtube] 2BC39A882LE: Downloading android player API JSON
[youtube] 2BC39A882LE: Downloading MPD manifest
[youtube] 2BC39A882LE: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] Testing format 248
[dashsegments] Total fragments: 1
[download] Destination: /tmp/tmpp7mo2_ik.tmp
[download] 79.9% of ~1.25KiB at 26.07KiB/s ETA 00:00ERROR: giving up after 0 retries
File "/home/linuxbrew/.linuxbrew/bin/yt-dlp", line 33, in <module>
sys.exit(load_entry_point('yt-dlp==2022.1.21', 'console_scripts', 'yt-dlp')())
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/__init__.py", line 849, in main
_real_main(argv)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/__init__.py", line 839, in _real_main
retcode = ydl.download(all_urls)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3180, in download
self.__download_wrapper(self.extract_info)(
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3153, in wrapper
res = func(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1358, in extract_info
return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1367, in wrapper
return func(self, *args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1451, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1503, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2562, in process_video_result
formats_to_download = list(format_selector(ctx))
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2099, in selector_function
yield from f(ctx)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2192, in final_selector
return selector_function(ctx_copy)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2110, in selector_function
picked_formats = list(f(ctx))
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2119, in selector_function
for pair in itertools.product(selector_1(ctx), selector_2(ctx)):
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2182, in selector_function
yield matches[format_idx - 1]
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/utils.py", line 2736, in __getitem__
self.__cache.extend(itertools.islice(self.__iterable, n))
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2091, in _check_formats
yield from self._check_formats(formats)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1862, in _check_formats
success, _ = self.dl(temp_file.name, f, test=True)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2769, in dl
return fd.download(name, new_info, subtitle)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/common.py", line 440, in download
ret = self.real_download(filename, info_dict)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/dash.py", line 56, in real_download
return self.download_and_append_fragments_multiple(*args)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/fragment.py", line 382, in download_and_append_fragments_multiple
return self.download_and_append_fragments(*args[0], pack_func=pack_func, finish_func=finish_func)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/fragment.py", line 515, in download_and_append_fragments
frag_content, frag_index = download_fragment(fragment, ctx)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/fragment.py", line 449, in download_fragment
success, frag_content = self._download_fragment(ctx, fragment['url'], info_dict, headers)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/fragment.py", line 133, in _download_fragment
success = ctx['dl'].download(fragment_filename, fragment_info_dict)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/common.py", line 440, in download
ret = self.real_download(filename, info_dict)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/http.py", line 385, in real_download
self.report_error('giving up after %s retries' % retries)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/downloader/common.py", line 177, in report_error
self.ydl.report_error(*args, **kargs)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 923, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 853, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
[download] 100% of 1.00KiB in 00:20
[info] Testing format 140
[download] Destination: /tmp/tmpw7oue6v8.tmp
[download] 0.0% of 16.74MiB at Unknown speed ETA Unknown [download] 0.0% of 16.74MiB at 2.83MiB/s ETA 00:05 [download] 0.0% of 16.74MiB at 4.99MiB/s ETA 00:03 [download] 0.1% of 16.74MiB at 5.05MiB/s ETA 00:03 [download] 100% of 10.00KiB in 00:00
[info] 2BC39A882LE: Downloading 1 format(s): 248+140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment