webdump

HTML to plain-text converter for webpages
git clone git://git.codemadness.org/webdump
Log | Files | Refs | README | LICENSE

commit 437d217ea2b9d5669418960d3f39e183860862c5
parent ffac8c54d4e3ed9e7d5e8cb9c27df7d788089449
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  2 Jul 2026 19:42:03 +0200

for the -x option add a field to indicate if its visible or hidden

This is useful with the recent -s and -u changes as well.

Diffstat:
Mwebdump.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webdump.c b/webdump.c @@ -1618,11 +1618,11 @@ printlinkrefs(void) if (xresources) { for (i = 0; i < nvisrefs; i++) { ref = visrefs[i]; - dprintf(3, "%s\t%s\n", ref->type, ref->url); + dprintf(3, "%s\tv\t%s\n", ref->type, ref->url); } for (i = 0; i < nhiddenrefs; i++) { ref = hiddenrefs[i]; - dprintf(3, "%s\t%s\n", ref->type, ref->url); + dprintf(3, "%s\th\t%s\n", ref->type, ref->url); } }