Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjishnu committed Nov 18, 2023
1 parent 26e6552 commit 805756d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ The `Downloader` class represents a file downloader that can download a file fro

- `start(url, filepath, num_connections=10, display=True, multithread=True, block=True, retries=0, retry_func=None)`: Starts the download process. Parameters:
- `url` (str): The download URL.
- `filepath` (str): The file path to save the download.
- `filepath` (str): The optional file path to save the download. by default it uses the present working directory, If filepath a is directory then the file is downloaded into the it else the file is downloaded with the given name.
- `num_connections` (int): The number of connections to use for a multi-threaded download.
- `display` (bool): Whether to display download progress.
- `multithread` (bool): Whether to use multi-threaded download.
Expand Down
4 changes: 2 additions & 2 deletions pypdl/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ def start(
Parameters:
url (str): The download URL.
filepath (str): The optional file path to save the download.
If it is directory or None then filepath is appended with file name.
filepath (str): The optional file path to save the download. by default it uses the present working directory,
If filepath a is directory then the file is downloaded into the it else the file is downloaded with the given name.
num_connections (int): The number of connections to use for a multi-threaded download.
display (bool): Whether to display download progress.
multithread (bool): Whether to use multi-threaded download.
Expand Down

0 comments on commit 805756d

Please sign in to comment.