Files
yt-shorts-downloader/stubs/yt_dlp/__init__.pyi
T
ВяткинАртём 59aaa9c4d7
CI / Quality Checks (push) Failing after 9s
CI / Test Suite (push) Successful in 10s
Refactor code structure for improved readability and maintainability
2026-05-27 17:06:39 +03:00

14 lines
461 B
Python

from collections.abc import Mapping
from types import TracebackType
class YoutubeDL:
def __init__(self, params: Mapping[str, object] | None = ...) -> None: ...
def __enter__(self) -> YoutubeDL: ...
def __exit__(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
traceback: TracebackType | None,
) -> bool | None: ...
def extract_info(self, url: str, download: bool = ...) -> object: ...