Files
2026-04-23 10:16:08 +03:30

11 lines
283 B
Bash
Executable File

#!/bin/bash
# Fetch file and extract strings between quotes that look like URLs
mapfile -t links < <(
curl -fsSL "https://gitamin.ir/smx/irs/raw/branch/main/docker-registeries.md" \
| grep -oP '"\Khttps?://[^"]+' \
| sed 's|^https://||'
)
# Verify
printf '%s\n' "${links[@]}"