Skip to content

Commit f2994c3

Browse files
committed
[yt-dlp] Update to 2025.8.11
Closes: #14561
1 parent 5e40362 commit f2994c3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

stubs/yt-dlp/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "2025.07.21"
1+
version = "2025.8.11"
22
upstream_repository = "https://github.com/yt-dlp/yt-dlp"
33
requires = ["websockets"]

stubs/yt-dlp/yt_dlp/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class _Params(TypedDict, total=False):
197197
encoding: str | None
198198
extract_flat: bool | Literal["in_playlist", "discard", "discard_in_playlist"] | None
199199
live_from_start: bool | None
200+
warn_when_outdated: bool | None
200201
wait_for_video: tuple[int, int] | None
201202
mark_watched: bool | None
202203
merge_output_format: str | None

stubs/yt-dlp/yt_dlp/globals.pyi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from collections import defaultdict
2-
from typing import Any, Generic, TypeVar
2+
from typing import Any, Generic, Literal, TypeVar
33

44
_T = TypeVar("_T")
55

@@ -16,4 +16,5 @@ plugin_ies: Indirect[dict[str, Any]]
1616
plugin_pps: Indirect[dict[str, Any]]
1717
plugin_ies_overrides: Indirect[defaultdict[str, Any]]
1818
IN_CLI: Indirect[bool]
19-
LAZY_EXTRACTORS: Indirect[None | bool]
19+
LAZY_EXTRACTORS: Indirect[bool | None]
20+
WINDOWS_VT_MODE: Indirect[Literal[False] | None] # Code takes into account that only False here

stubs/yt-dlp/yt_dlp/utils/_utils.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ from yt_dlp.networking import Response
3232

3333
from .. import _Params
3434
from ..extractor.common import InfoExtractor, _InfoDict
35+
from ..globals import WINDOWS_VT_MODE as WINDOWS_VT_MODE
3536
from ..options import _YoutubeDLOptionParser
3637
from ..YoutubeDL import YoutubeDL
3738

@@ -574,9 +575,6 @@ def get_system_config_dirs(package_name: str) -> Iterator[str]: ...
574575
def time_seconds(**kwargs: float) -> int: ...
575576
def jwt_encode_hs256(payload_data: Any, key: str, headers: Mapping[str, Any] = ...) -> bytes: ... # Passed to json.dumps().
576577
def jwt_decode_hs256(jwt: str) -> Any: ... # Returns json.loads() output.
577-
578-
WINDOWS_VT_MODE: bool | None
579-
580578
def supports_terminal_sequences(stream: IO[Any]) -> bool: ...
581579
def windows_enable_vt_mode() -> None: ...
582580
def remove_terminal_sequences(string: str) -> str: ...

0 commit comments

Comments
 (0)