mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-25 02:04:04 +08:00
[yt-dlp] Update to 2025.8.11 (#14564)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "2025.07.21"
|
||||
version = "2025.8.11"
|
||||
upstream_repository = "https://github.com/yt-dlp/yt-dlp"
|
||||
requires = ["websockets"]
|
||||
|
||||
@@ -197,6 +197,7 @@ class _Params(TypedDict, total=False):
|
||||
encoding: str | None
|
||||
extract_flat: bool | Literal["in_playlist", "discard", "discard_in_playlist"] | None
|
||||
live_from_start: bool | None
|
||||
warn_when_outdated: bool | None
|
||||
wait_for_video: tuple[int, int] | None
|
||||
mark_watched: bool | None
|
||||
merge_output_format: str | None
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from collections import defaultdict
|
||||
from typing import Any, Generic, TypeVar
|
||||
from typing import Any, Generic, Literal, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
@@ -16,4 +16,5 @@ plugin_ies: Indirect[dict[str, Any]]
|
||||
plugin_pps: Indirect[dict[str, Any]]
|
||||
plugin_ies_overrides: Indirect[defaultdict[str, Any]]
|
||||
IN_CLI: Indirect[bool]
|
||||
LAZY_EXTRACTORS: Indirect[None | bool]
|
||||
LAZY_EXTRACTORS: Indirect[bool | None]
|
||||
WINDOWS_VT_MODE: Indirect[Literal[False] | None] # Code takes into account that only False here
|
||||
|
||||
@@ -32,6 +32,7 @@ from yt_dlp.networking import Response
|
||||
|
||||
from .. import _Params
|
||||
from ..extractor.common import InfoExtractor, _InfoDict
|
||||
from ..globals import WINDOWS_VT_MODE as WINDOWS_VT_MODE
|
||||
from ..options import _YoutubeDLOptionParser
|
||||
from ..YoutubeDL import YoutubeDL
|
||||
|
||||
@@ -574,9 +575,6 @@ def get_system_config_dirs(package_name: str) -> Iterator[str]: ...
|
||||
def time_seconds(**kwargs: float) -> int: ...
|
||||
def jwt_encode_hs256(payload_data: Any, key: str, headers: Mapping[str, Any] = ...) -> bytes: ... # Passed to json.dumps().
|
||||
def jwt_decode_hs256(jwt: str) -> Any: ... # Returns json.loads() output.
|
||||
|
||||
WINDOWS_VT_MODE: bool | None
|
||||
|
||||
def supports_terminal_sequences(stream: IO[Any]) -> bool: ...
|
||||
def windows_enable_vt_mode() -> None: ...
|
||||
def remove_terminal_sequences(string: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user