https://github.com/sstark/ralad
simple http downloader with interactive redirect behaviour
https://github.com/sstark/ralad
download http redirect
Last synced: 7 months ago
JSON representation
simple http downloader with interactive redirect behaviour
- Host: GitHub
- URL: https://github.com/sstark/ralad
- Owner: sstark
- Created: 2019-04-12T22:41:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-27T11:30:45.000Z (almost 5 years ago)
- Last Synced: 2023-12-09T01:32:18.845Z (about 2 years ago)
- Topics: download, http, redirect
- Language: Go
- Size: 26.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ralad
=====
Simple http downloader. Its main feature is that the user has to agree with
each redirect interactively.
Usage
-----
ralad [flags] url
Flags:
-o string
output file name (use - for stdout)
-q show only errors (implied by -o -)
-rdisplay string
redirect display: full|part|truncate (default "truncate")
-rpolicy string
set redirect confirmation policy: always|relaxed|never (default "relaxed")
-unsafeTLS
ignore TLS certificate errors
Ralad tries to figure out a useful output file name if the server does not
supply a good one already, and option -o was not used.
Example
-------
ralad https://github.com/sstark/snaprd/releases/download/v1.3/snaprd-1.3-linux-x86_64.zip
redirect to https://github-production-release-asset-2e65be.s3.amazonaws.com/1515...? (y/n) y
1.44 MiB / 1.44 MiB ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰ 100.00% 2.10 MiB/s 0s
1505790 bytes written
$ ls
snaprd-1.3-linux-x86_64.zip