-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
问题描述 | Problem Description
如题目,报错信息如下
日志信息(可选)| Logs (Optional)
开始下载视频: https://www.youtube.com/watch?v=Hm-ZIiwiN1o
使用cookiefile: C:\Program Files\VideoCaptioner\AppData\cookies.txt
2025-11-10 23:02:46 - video_download_thread - ERROR - 下载视频失败: ERROR: [youtube] Hm-ZIiwiN1o: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1637, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1793, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1852, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 2986, in process_video_result
raise ExtractorError(
yt_dlp.utils.ExtractorError: [youtube] Hm-ZIiwiN1o: Requested format is not available. Use --list-formats for a list of available formats
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\VideoCaptioner\app\thread\video_download_thread.py", line 33, in run
self.download()
File "C:\Program Files\VideoCaptioner\app\thread\video_download_thread.py", line 145, in download
info_dict = ydl.extract_info(self.url, download=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1626, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1655, in wrapper
self.report_error(str(e), e.format_traceback())
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1095, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "C:\Program Files\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1034, in trouble
raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: [youtube] Hm-ZIiwiN1o: Requested format is not available. Use --list-formats for a list of available formatsMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working