From ead79e4438ca8a2b5d7f7211945c1fcb653f2c64 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 20 Nov 2023 19:21:22 +0300 Subject: [PATCH] Fix(parse_html CLI): Report encodings and the title --- parse_html/__main__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/parse_html/__main__.py b/parse_html/__main__.py index 98b6104..8e070b4 100644 --- a/parse_html/__main__.py +++ b/parse_html/__main__.py @@ -29,8 +29,11 @@ def main(): parser = parse_filename(filename, charset, log=lambda s: sys.stdout.write(s + '\n')) - print(" refresh:", parser.refresh) - print(" icon :", parser.icon) + print(" charset :", parser.charset) + print(" meta_charset:", parser.meta_charset) + print(" title :", parser.title) + print(" refresh :", parser.refresh) + print(" icon :", parser.icon) if __name__ == '__main__': -- 2.39.5