commit d58e9285ecc9d464a9ac4a441e18af3bc3c52624 parent 51e12d9273003eabf3510cfd828b64f9e6c59b37 Author: David Eisinger <[email protected]> Date: Sun, 28 May 2023 15:54:57 -0400 Workaround gzip/lynx issue Diffstat:
| M | bin/archive | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/archive b/bin/archive @@ -15,7 +15,7 @@ puts "references:" urls.each do |url| page_content = `curl -s #{url}` - text_content = `lynx -dump --display_charset=utf-8 #{url}` + text_content = `curl -s #{url} | lynx -dump --display_charset=utf-8 -stdin` begin title = page_content