diff --git a/stubs/yt-dlp/METADATA.toml b/stubs/yt-dlp/METADATA.toml index 7d687b65cd4f..22aa99aeeacf 100644 --- a/stubs/yt-dlp/METADATA.toml +++ b/stubs/yt-dlp/METADATA.toml @@ -1,3 +1,3 @@ -version = "2025.9.5" +version = "2025.9.23" upstream_repository = "https://github.com/yt-dlp/yt-dlp" requires = ["websockets"] diff --git a/stubs/yt-dlp/yt_dlp/__init__.pyi b/stubs/yt-dlp/yt_dlp/__init__.pyi index 2ab98ab11fed..e5dd1a12a4fc 100644 --- a/stubs/yt-dlp/yt_dlp/__init__.pyi +++ b/stubs/yt-dlp/yt_dlp/__init__.pyi @@ -140,7 +140,6 @@ class _Params(TypedDict, total=False): nopart: bool | None updatetime: bool | None writedescription: bool | None - writeannotations: bool | None writeinfojson: bool | None allow_playlist_files: bool | None clean_infojson: bool | None @@ -187,13 +186,9 @@ class _Params(TypedDict, total=False): socket_timeout: int | None bidi_workaround: bool | None debug_printtraffic: bool | None - prefer_ffmpeg: bool | None - include_ads: bool | None default_search: str | None dynamic_mpd: bool | None extractor_args: Mapping[str, Mapping[str, Any]] | None - youtube_include_dash_manifest: bool | None - youtube_include_hls_manifest: bool | None encoding: str | None extract_flat: bool | Literal["in_playlist", "discard", "discard_in_playlist"] | None live_from_start: bool | None @@ -205,7 +200,6 @@ class _Params(TypedDict, total=False): postprocessors: Collection[Mapping[str, Any]] fixup: Literal["never", "warn", "detect_or_warn"] | None source_address: str | None - call_home: bool | None sleep_interval_requests: int | None sleep_interval: int | None max_sleep_interval: int | None @@ -215,7 +209,6 @@ class _Params(TypedDict, total=False): force_keyframes_at_cuts: bool | None list_thumbnails: str | None playlist_items: Collection[int] | None - xattr_set_filesize: bool | None match_filter: NotRequired[Callable[[Mapping[str, Any], bool], str | None] | Callable[[Mapping[str, Any]], str | None] | None] color: _Color | None ffmpeg_location: str | None @@ -240,9 +233,7 @@ class _Params(TypedDict, total=False): _warnings: Collection[str] | None autonumber_size: int | None autonumber_start: int | None - cn_verification_proxy: str | None load_pages: bool | None - youtube_print_sig_code: bool | None progress_hooks: list[Callable[[Mapping[str, Any]], object]] impersonate: ImpersonateTarget diff --git a/stubs/yt-dlp/yt_dlp/compat/__init__.pyi b/stubs/yt-dlp/yt_dlp/compat/__init__.pyi index cfa7f4a18eb6..000a451745b0 100644 --- a/stubs/yt-dlp/yt_dlp/compat/__init__.pyi +++ b/stubs/yt-dlp/yt_dlp/compat/__init__.pyi @@ -1,3 +1,4 @@ +import datetime import urllib import urllib.request import xml.etree.ElementTree as etree @@ -8,5 +9,6 @@ class compat_HTMLParseError(ValueError): ... def compat_etree_fromstring(text: str) -> etree.Element[str]: ... def compat_ord(c: str) -> int: ... +def compat_datetime_from_timestamp(timestamp: float) -> datetime.datetime: ... def compat_expanduser(path: str) -> str: ... def urllib_req_to_req(urllib_request: urllib.request.Request) -> Request: ... diff --git a/stubs/yt-dlp/yt_dlp/downloader/common.pyi b/stubs/yt-dlp/yt_dlp/downloader/common.pyi index e70d9ed12160..80e60660f067 100644 --- a/stubs/yt-dlp/yt_dlp/downloader/common.pyi +++ b/stubs/yt-dlp/yt_dlp/downloader/common.pyi @@ -29,7 +29,6 @@ class _FileDownloaderParams(TypedDict): throttledratelimit: int | None updatetime: bool verbose: bool - xattr_set_filesize: bool class FileDownloader: params: _FileDownloaderParams | None diff --git a/stubs/yt-dlp/yt_dlp/downloader/external.pyi b/stubs/yt-dlp/yt_dlp/downloader/external.pyi index d181a0065903..341481dbfad2 100644 --- a/stubs/yt-dlp/yt_dlp/downloader/external.pyi +++ b/stubs/yt-dlp/yt_dlp/downloader/external.pyi @@ -56,7 +56,5 @@ class FFmpegFD(ExternalFD): @classmethod def can_merge_formats(cls, info_dict: _InfoDict, params: Mapping[str, Any]) -> bool: ... -class AVconvFD(FFmpegFD): ... - def list_external_downloaders() -> list[str]: ... def get_external_downloader(external_downloader: str) -> type[ExternalFD]: ...