← 返回
未分类

Wget Tool

Download files from the web via HTTP/HTTPS/FTP with resume support, recursive mirroring, rate limiting, and progress feedback.
通过 HTTP/HTTPS/FTP 下载文件,支持断点续传、递归镜像、限速和进度显示。
dinghaibin
未分类 clawhub v1.0.0 1 版本 99585.1 Key: 无需
★ 0
Stars
📥 240
下载
💾 0
安装
1
版本
#latest

概述

WGet Tool — Web File Downloader

Download files from HTTP/HTTPS/FTP servers with resume support, recursive downloading, bandwidth limiting, and robust error handling. Ideal for batch downloads, website mirroring, and automated data acquisition.

Quick Start

# Download a single file
wget-tool https://example.com/file.zip

# Download with a different filename
wget-tool https://example.com/file.zip -O output.zip

Usage

wget-tool URL [OPTIONS]

Options:
  -O, --output FILE    Save to specific filename
  -c, --continue       Resume partial download
  -q, --quiet          Suppress progress output
  --limit-rate RATE    Limit download speed (e.g., 100k, 1M)
  -r, --recursive      Download recursively
  -l, --level N        Maximum recursion depth
  --timeout SEC        Connection timeout in seconds
  --retries N          Number of retries on failure (default: 3)
  --header HEADER      Add custom HTTP header
  --user-agent UA      Custom User-Agent string
  -P, --directory-prefix DIR   Save files under directory
  --json               Output as JSON with download metadata

Examples

# Resume an interrupted download
wget-tool https://example.com/large-file.iso -c

# Download with speed limit
wget-tool https://example.com/video.mp4 --limit-rate 500k

# Recursively download a website (depth 2)
wget-tool -r -l 2 https://docs.example.com/

# Custom headers and user-agent
wget-tool https://api.example.com/data.json \
  --header "Authorization: Bearer token123" \
  --user-agent "MyScript/1.0"

# Download with retries and timeout
wget-tool https://unreliable-server.com/file.dat --timeout 10 --retries 5

# Machine-readable output
wget-tool https://example.com/file.zip --json

Features

  • HTTP/HTTPS/FTP — supports major protocols
  • Resume support — continue interrupted downloads with -c
  • Recursive mirroring — download entire site trees
  • Bandwidth limiting — avoid saturating connections
  • Retry logic — configurable retries and timeouts
  • Custom headers — authentication, API tokens, referrers
  • JSON output — metadata for pipeline integration
  • Progress feedback — speed, ETA, and percentage

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-13 07:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Unexpand Tool

dinghaibin
将文本文件中的空格转为制表符,保持统一缩进并减小文件大小。
★ 0 📥 387

Schedule Task

dinghaibin
在 Linux/Unix 系统上调度和运行周期性任务。适用于设置 cron 作业、定时备份、周期性数据同步、自动报告等场景。
★ 0 📥 405

Datetime Tool

dinghaibin
全面的日期时间操作工具包,支持多种格式、时区转换、日历计算、自然语言解析以及日期...
★ 0 📥 411