Skip to content

docker-pcurl is a docker image to download provided list of "curl links" generated by Firefox or Chrome

License

Notifications You must be signed in to change notification settings

jzbl/docker-pcurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pcurl

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.

Requirements

  • working docker (or) podman installation
  • git

Installation

$ git clone https://github.com/jzbl/docker-pcurl.git

Running

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/

License

MIT

About

docker-pcurl is a docker image to download provided list of "curl links" generated by Firefox or Chrome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published