config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit d6705b250e2e72e54e612f9eca4ef58afedff6d1
parent c6b2b3534c2d4d1b231e7d9f0981b4828a7e8798
Author: Jacob R. Edwards <n/a>
Date:   Tue, 11 Jan 2022 13:55:32 -0800

Add script to fetch linked files in an HTML document

Diffstat:
Alocal/bin/bin/hgetlinks | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/local/bin/bin/hgetlinks b/local/bin/bin/hgetlinks @@ -0,0 +1,5 @@ +#!/bin/sh -u +# Copyright 2022 Jacob R. Edwards +# Fetch URLS matched from the given HTML document URL + +netget "$1" | hxwls -b "$1" | egrep "${2:-.}" | sargs dl