Parldl
Download files parallely from a list of URLs in a file.
Installation
Recommended
pipx install parldl
(To install pipx click here)
or
pip install parldl
Or upgrade by:
pipx upgrade parldl
or
pip install --upgrade parldl
Usage
- Create a file containing a list of URLs, one URL per line.
- Run
parldlwith the path to the file as an argument. parldlwill download the images and save them in a directory provided or in "pardl-downloads" by default.
Example
parldl image_urls.txt output_dir
parldl image_urls.txt
Usage: parldl [OPTIONS] [URL_FILE] [OUTPUT_DIR]
Download files parallely from a list of URLs in a file
Options:
-i, --input PATH File containing newline-separated URLs
-o, --output PATH Output directory path
-m, --max-attempts INTEGER Maximum number of download attempts
-p, --parallel INTEGER Maximum number of parallel downloads
--help Show this message and exit.
Install from source
Poetry is required. For installation click here.
Download the source and install the dependencies by running:
git clone https://github.com/aqdasak/parldl.git
cd parldl
poetry install
Run
In the source folder containing pyproject.toml
poetry shell
then cd into the folder containing url file and execute:
parldl <url_file> <output_dir>
License
This project is licensed under the MIT License.
Release files for parldl 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parldl-0.2.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parldl-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / parldl-0.2.0.tar.gz
| Download URL | parldl-0.2.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a93e5faecc1eb89f5956c35c4bf5b3d6f013b0a47c0c9e281301397479fbf95b
|
|
BLAKE2b-256 checksum How to use checksums |
704eba41ad67234cc57edaf8fb6082380ff2218c6492c67e0a299e35b10a3903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.0 CPython/3.10.6 Linux/6.9.3-76060903-generic
|
Release files / parldl-0.2.0-py3-none-any.whl
| Download URL | parldl-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b6453234215c6a25a70635ea1776e56d5304fd01577b3b1d02584f18198ec0c
|
|
BLAKE2b-256 checksum How to use checksums |
be9797bf497752170c2e80522d7daccbe75ea29bb06959c4e4e3a8bc0df90535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.0 CPython/3.10.6 Linux/6.9.3-76060903-generic
|