Skip to content

Commit c3fa8a0

Browse files
authored
[yt-dlp] Fix YoutubeDL.YoutubeDL.download return value (#15336)
1 parent 7f3ec00 commit c3fa8a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/yt-dlp/yt_dlp/YoutubeDL.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class YoutubeDL:
8989
def dl(self, name: str, info: _InfoDict, subtitle: bool = False, test: bool = False) -> bool: ...
9090
def existing_file(self, filepaths: Iterable[str], *, default_overwrite: bool = True) -> str | None: ...
9191
def process_info(self, info_dict: _InfoDict) -> None: ...
92-
def download(self, url_list: Collection[str]) -> None: ...
92+
def download(self, url_list: Collection[str]) -> int: ...
9393
def download_with_info_file(self, info_filename: str) -> int: ...
9494
@staticmethod
9595
def sanitize_info(info_dict: _InfoDict, remove_private_keys: bool = False) -> _InfoDict | None: ...

0 commit comments

Comments
 (0)