https://github.com/gnojus/wedl
Small command line utility to download from https://wetransfer.com
https://github.com/gnojus/wedl
cli wetransfer
Last synced: 5 months ago
JSON representation
Small command line utility to download from https://wetransfer.com
- Host: GitHub
- URL: https://github.com/gnojus/wedl
- Owner: gnojus
- License: unlicense
- Created: 2019-12-28T18:07:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-06T09:13:46.000Z (over 1 year ago)
- Last Synced: 2025-04-15T00:17:13.529Z (about 1 year ago)
- Topics: cli, wetransfer
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 36
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wedl
[](https://github.com/gnojus/wedl/actions/workflows/test.yml)
## Command line utility to download from wetransfer
Easily download from wetransfer.com in the command line.
Uses unofficial wetransfer API used when downloading with a browser.
Written in Go.
## Usage
```bash
$ wedl --help
Usage:
wedl [options]
Options:
-h --help Show this screen.
-v --version Print version and exit.
-o FILE --output=FILE Output file. Use - for stdout.
-p PATH --path=PATH Downloaded files directory.
-s --silent Silent. Do not output anything to stderr.
-f --force Overwrite files if needed.
-i --info Write download info to stdout and exit.
```
## Instaling
Download binaries from [releases](https://github.com/gnojus/wedl/releases).
Or compile from source and install with the [Go toolchain](https://go.dev/dl/):
```
go install github.com/gnojus/wedl@latest
```
### Linux and MacOS
Or compile from source:
```
git clone https://github.com/gnojus/wedl.git
cd wedl
go build
```
### Windows
Compile from source:
```cmd
git clone https://github.com/gnojus/wedl.git
cd wedl
:: Build
:: Build executable
go build
:: Or Build with -output flag
go build -o wedl.exe wedl.go
```
## Run
### Linux and MacOS
```
./wedl --help
```
### Windows
```
wedl.exe --help
```
### Usage examples
```sh
# Help
go run . --help
# Standart Download
go run . https://go.wetransfer.com/responsibility
# Download to ./test/ directory
go run . -p test https://we.tl/responsibility
# Download to downloaded.zip
go run . -o downloaded.zip https://we.tl/responsibility
# Write download info to stdout
go run . -i https://we.tl/responsibility
# output: {"dl_url":"","dl_size":22344484,"dl_filename":"WeTransfer_Responsible_Business_Report_2020.pdf"}
```