From f9666221239873b316a60a348f0a02b331045d2d Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Mon, 15 May 2023 01:16:10 +0200 Subject: [PATCH] Fix --- lib/postgres/html_attribute.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/postgres/html_attribute.sh b/lib/postgres/html_attribute.sh index 0944487e..fadb700e 100755 --- a/lib/postgres/html_attribute.sh +++ b/lib/postgres/html_attribute.sh @@ -2,6 +2,6 @@ http_get https://html.com/attributes/ \ | sed -E "s,<(thrive_headline|header)[^.>]+>([^<]+),
\2
," \ | xmllint --html --xpath //table - 2>/dev/null \ -| sed -E "s,]+href=.(https://html.com/attributes/([^/]+)[^\"]*)[^<]+,\2\1,g" \ +| sed -E "s,]+href=\"((https://html.com)?/attributes/([^\"\/]+)\/?)[^<]+,\3https://html.com/\1,g" \ | xml2csv - \ | awk 'BEGIN{FS="\t"}{print $1"\t"$3"\t"$2}' \ -- 2.47.3