← 返回
未分类 中文

URL Toolkit

URL encoding, decoding, parameter parsing, and URL manipulation toolkit for developers.
URL编码解码、参数解析及URL操作开发者工具包
freeter226
未分类 clawhub v1.0.0 1 版本 99781.7 Key: 无需
★ 0
Stars
📥 457
下载
💾 0
安装
1
版本
#latest

概述

URL Toolkit

A comprehensive URL manipulation tool for developers.

Features

  • Encode - Encode URL (percent encoding)
  • Decode - Decode URL
  • Parse - Parse URL into components (scheme, host, path, query, etc.)
  • Query Parse - Parse query string into key-value pairs
  • Query Build - Build query string from key-value pairs

Usage

python3 skills/url-toolkit/scripts/url_toolkit.py <action> [options]

Actions

ActionDescription
---------------------
encodeURL encode a string
decodeURL decode a string
parseParse URL into components
query-parseParse query string to JSON
query-buildBuild query string from JSON

Options

OptionTypeDefaultDescription
------------------------------------
--inputstring-Input string or URL
--fullboolfalseFull encoding (all chars) vs safe encoding

Examples

# URL encode
python3 skills/url-toolkit/scripts/url_toolkit.py encode --input "hello world"
# Output: {"success": true, "result": "hello%20world"}

# URL decode
python3 skills/url-toolkit/scripts/url_toolkit.py decode --input "hello%20world"
# Output: {"success": true, "result": "hello world"}

# Parse URL
python3 skills/url-toolkit/scripts/url_toolkit.py parse --input "https://example.com:8080/path?q=test&id=123#section"
# Output: {"success": true, "result": {"scheme": "https", "host": "example.com", ...}}

# Parse query string
python3 skills/url-toolkit/scripts/url_toolkit.py query-parse --input "q=test&id=123&name=hello+world"
# Output: {"success": true, "result": {"q": "test", "id": "123", "name": "hello world"}}

# Build query string
python3 skills/url-toolkit/scripts/url_toolkit.py query-build --input '{"q":"test","id":123,"name":"hello world"}'
# Output: {"success": true, "result": "q=test&id=123&name=hello%20world"}

Use Cases

  1. API development - Encode/decode URL parameters
  2. Web scraping - Parse URLs and extract components
  3. Debugging - Inspect query parameters
  4. URL building - Construct URLs from components
  5. Data processing - Clean and normalize URLs

Current Status

Ready for testing.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 13:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Timestamp Toolkit

freeter226
时间戳转换工具:在 Unix 时间戳、日期时间和各种日期格式之间进行转换。
★ 0 📥 408

Log Parser

freeter226
解析和分析各种日志格式(nginx、apache、syslog、应用日志)。提取关键信息并生成报告。
★ 0 📥 510

JSON Wizard

freeter226
JSON格式化、验证及转换工具。支持格式化、压缩、校验JSON,以及JSON与YAML互转。
★ 0 📥 424