anasrar / bulkdl

CLI bulk download files in parallel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bulkdl

Bulk download files.

How to use

YAML file:

files:
  - url: "https://example.com/file_0.txt"
  - url: "https://example.com/file_1.txt"
bulkdl file.yml

Example

demo.mp4

YAML structure

config: # global config
  method: "GET" # support: GET, POST, PUT, PATCH, DELETE, HEAD
  headers: # map[string]string
    apikey: "RaND0m"
  proxy: "http://127.0.0.1:9876"
  timeout: 10 # seconds
files:
  - url: "https://example.com/file_0.txt"
    filename: "change_file_name.txt" # change file name output

  - url: "https://example.com/file_1.txt" # filename will file_1.txt
    config: # override global config
      timeout: 5 # override config timeout

Built with

About

CLI bulk download files in parallel

License:MIT License


Languages

Language:Go 96.7%Language:Shell 3.3%