docker-pcurl is a docker image to download provided list of "(c)url links" generated by Firefox or Chrome. Download is done in parallel via curl, while preserving the original filenames. How to use "Download as cURL in web browsers"
docker-pcurl is based on bleeding edge alpine image to provide latest and greatest curl version.
Latest version of curl is needed for --output-dir option introduced in 7.73.0, just recently.
parallel is set to start running 10 jobs simultaneously, if you provide more links, they will queue automatically.
- working docker (or) podman installation
- git
$ git clone https://github.com/jzbl/docker-pcurl.git
Change directory to the one you cloned via git:
cd docker-pcurl
Add curl lines you get from firefox or chrome developer console to urllist file using your favourite editor and save:
vi urllist
Build docker-pcurl image:
podman build -t docker-pcurl .
Run docker-pcurl, remember to provide the volume redirection (!) :
podman run -d --rm -v .:/mnt -it docker-pcurl
List your downloaded files in output directory
ls -al ./output/