mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[yt-dlp] Update to 2025.9.23 (#14776)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "2025.9.5"
|
||||
version = "2025.9.23"
|
||||
upstream_repository = "https://github.com/yt-dlp/yt-dlp"
|
||||
requires = ["websockets"]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -29,7 +29,6 @@ class _FileDownloaderParams(TypedDict):
|
||||
throttledratelimit: int | None
|
||||
updatetime: bool
|
||||
verbose: bool
|
||||
xattr_set_filesize: bool
|
||||
|
||||
class FileDownloader:
|
||||
params: _FileDownloaderParams | None
|
||||
|
||||
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user