Table of Contents

<--   Back

bulkdl - Bulk Download Files


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

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