An easy to use and effective online archive downloader.
-
Flexible Input
- Single URL mode — pass a direct link via
-url - Batch mode — provide a plain text file of URLs via
-file, one per line
- Single URL mode — pass a direct link via
-
Download Filtering
- Limit the number of downloaded files with
-limit - Filter by filename prefix with
-prefix - Filter by file extension with
-extension
- Limit the number of downloaded files with
-
Concurrent Downloads
- Each supported URL is dispatched to its handler in a separate goroutine, all synchronized with a
WaitGroup
- Each supported URL is dispatched to its handler in a separate goroutine, all synchronized with a
-
Service Architecture
- Pluggable
IDownloadProviderinterface — new services are registered inAvailableServicesand are auto-matched to URLs viaSupports()
- Pluggable
-
Supported Services — single file and full album downloads across all providers
go run . [flags]
| Flag | Type | Description |
|---|---|---|
-url |
string | Single URL to download from |
-file |
string | Path to a file containing one URL per line |
-limit |
uint | Stop after downloading this many files |
-prefix |
string | Only download files whose name starts with this string |
-extension |
string | Only download files with this extension |
-urland-fileare mutually exclusive — provide one, not both.
Single URL
GDownloader -url "https://bunkr.site/a/example"
Batch file
GDownloader -file "urls.txt"
With filters
GDownloader -url "https://bunkr.site/a/example" -limit 10 -prefix "chapter_" -extension ".jpg"
urls.txt format
https://bunkr.site/a/example
https://fileditch.com/file/example
https://filester.gg/file/example
- GoLang binary version 1.26.3 or higher
- Any kind of command prompt (cmd, ps, etc...)
MIT License - see LICENSE
If you find any issues during usage, please create a github issue Here