Skip to content

YTB Requested format is not available #808

@zh3zhou

Description

@zh3zhou

问题描述 | Problem Description

配置了cookies文件,其他什么也没动

日志信息(可选)| Logs (Optional)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\VideoCaptioner\app\thread\video_download_thread.py", line 33, in run
    self.download()
  File "D:\VideoCaptioner\app\thread\video_download_thread.py", line 145, in download
    info_dict = ydl.extract_info(self.url, download=False)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\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 "D:\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1655, in wrapper
    self.report_error(str(e), e.format_traceback())
  File "D:\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 "D:\VideoCaptioner\runtime\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1034, in trouble
    raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: [youtube] 8fKtHAVvttk: Requested format is not available. Use --list-formats for a list of available formats

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions