Skip to content

Commit

Permalink
Changed max_connections docs
Browse files Browse the repository at this point in the history
  • Loading branch information
henrique-coder committed Dec 11, 2024
1 parent 0e78976 commit 3f37161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamsnapper/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(
Initialize the Downloader class with the required settings for downloading a file.
Args:
max_connections: The maximum number of connections (threads) to use for downloading the file. (default: 'auto')
max_connections: The maximum number of connections to use for downloading the file. (default: 'auto')
overwrite: Overwrite the file if it already exists. Otherwise, a "_1", "_2", etc. suffix will be added. (default: True)
show_progress_bar: Show or hide the download progress bar. (default: True)
headers: Custom headers to include in the request. If None, default headers will be used. (default: None)
Expand Down Expand Up @@ -59,7 +59,7 @@ def __init__(

def _calculate_connections(self, file_size: int) -> int:
"""
Calculates the number of connections (threads) to use for downloading the file.
Calculates the number of connections to use for downloading the file.
The following table is used to determine the number of connections based on the file size:
Expand Down

0 comments on commit 3f37161

Please sign in to comment.